Changeset 984

Show
Ignore:
Timestamp:
12/21/06 23:23:11 (2 years ago)
Author:
lknowland
Message:

Adjusted the "fixed" position call to not be set for when the browser is IE<7 so as to not have the modal dialog become positioned below the footer. BugID: 46085

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/tmpl/cms/edit_entry.tmpl

    r973 r984  
    253253    } 
    254254    var el = getByID("dialog-container"); 
    255     if (el) el.style.position = 'fixed'; 
     255    if (navigator.appVersion.indexOf('MSIE') != -1) { 
     256        var temp = navigator.appVersion.split('MSIE'); 
     257        var version = parseFloat(temp[1]); 
     258    } 
     259    if (version < 7) { 
     260    if (el) el.style.position = ''; 
     261    } else { 
     262        if (el) el.style.position = 'fixed'; 
     263    } 
    256264    initDirty(); 
    257265    entryFocus = new TC.Focus("edit-entry");