Changeset 4687

Show
Ignore:
Timestamp:
08/04/07 18:18:44 (6 years ago)
Author:
gregmac
Message:

Fix #2161

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3/amp_conf/htdocs/admin/common/interface.dim.js

    r4686 r4687  
    1010    wrapperHeight = $('#wrapper').height() 
    1111    realHeight = $('#header').height() + (wrapperHeight > navHeight ? wrapperHeight : navHeight); 
     12     
     13    // handle when content is smaller than window height (http://freepbx.org/trac/ticket/2161) 
     14    if ($(window).height() > realHeight) { 
     15      realHeight = $(window).height(); 
     16    } 
    1217     
    1318    // center the box