Changeset 1285

Show
Ignore:
Timestamp:
01/18/08 07:43:07 (23 months ago)
Author:
auno
Message:

Fixed not to show drop down menu on pop up window. BugzID:66576

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-28/mt-static/mt.js

    r1280 r1285  
    14871487                DOM.addClassName( flyout, "hidden" ); 
    14881488                this.openFlyouts.remove( es[ i ] ); 
    1489                 showDropDown(); 
     1489                showAllDropDown(); 
    14901490            } 
    14911491        } 
     
    15321532                this.targetElement = null; 
    15331533 
    1534                 hideDropDown(); 
     1534                hideAllDropDown(); 
     1535                showDropDown( el ); 
    15351536                this.openFlyouts.add( name ); 
    15361537 
     
    22462247 
    22472248        /* actually hides select boxes, not the dropdown */ 
    2248         hideDropDown(); 
     2249        hideAllDropDown(); 
    22492250        this.inTimer = null; 
    22502251        this.outTimer = null; 
     
    22652266 
    22662267        /* actually shows select boxes, not the dropdown */ 
    2267         showDropDown(); 
     2268        showAllDropDown(); 
    22682269        this.outTimer = null; 
    22692270        this.inTimer = null; 
     
    28102811} 
    28112812 
    2812 function hideDropDown() { // hides SELECT lists under the nav on IE6 
     2813function hideAllDropDown() { // hides SELECT lists under the nav on IE6 
    28132814    if((/MSIE/.test(navigator.userAgent)) && parseInt(navigator.appVersion)==4) { 
    28142815        var dd = document.getElementsByTagName('select'); 
     
    28202821} 
    28212822 
    2822 function showDropDown() { 
     2823function showAllDropDown() { 
    28232824    if ((/MSIE/.test(navigator.userAgent)) && parseInt(navigator.appVersion)==4) { 
    28242825        var dd = document.getElementsByTagName('select'); 
     
    28282829    } 
    28292830        return; 
     2831} 
     2832 
     2833function showDropDown(el) { 
     2834    if ((/MSIE/.test(navigator.userAgent)) && parseInt(navigator.appVersion)==4) { 
     2835        var dd = el.getElementsByTagName( "select" ); 
     2836        for ( var i = 0; i < dd.length; i++ ) { 
     2837            dd[i].style.visibility = 'visible'; 
     2838        } 
     2839    } 
     2840    return; 
    28302841} 
    28312842