Changeset 6220

Show
Ignore:
Timestamp:
07/30/08 18:41:38 (4 months ago)
Author:
p_lindheimer
Message:

fixes #2854 select boxes disapearing on ie7 - could use some verification that IE6 still works

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/common/libfreepbx.javascripts.js

    r5095 r6220  
    11 
    2 Is_DOM=(document.getElementById)?true:false;Is_NS4=(document.layers)?true:false;Is_IE=(document.all)?true:false;var detect=navigator.userAgent.toLowerCase();if(checkIt('konqueror')) 
     2Is_DOM=(document.getElementById)?true:false;Is_NS4=(document.layers)?true:false;Is_IE=(document.all)?true:false;Is_IE7=Is_IE&&window.XMLHttpRequest?true:false;var detect=navigator.userAgent.toLowerCase();if(checkIt('konqueror')) 
    33Is_IE=false;function checkIt(string) 
    44{place=detect.indexOf(string)+1;thestring=string;return place;} 
     
    2424{hideSelects(false);} 
    2525function setAllInfoToHideSelects() 
    26 {if(Is_IE
     26{if(Is_IE&&!Is_IE7
    2727{var allelems=document.all.tags('A');if(allelems!=null) 
    2828{var i,elem;for(i=0;elem=allelems[i];i++) 
  • freepbx/trunk/amp_conf/htdocs/admin/common/script.legacy.js

    r5095 r6220  
    66Is_NS4 = (document.layers) ? true : false; 
    77Is_IE = (document.all) ? true : false; 
     8Is_IE7 = Is_IE && window.XMLHttpRequest ? true : false; 
    89 
    910// detect for konqueror, taken from 
     
    8384function setAllInfoToHideSelects() 
    8485{ 
    85       if (Is_IE
     86      if (Is_IE && !Is_IE7
    8687      { 
    8788              var allelems = document.all.tags('A'); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads