Changeset 6220
- Timestamp:
- 07/30/08 18:41:38 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/common/libfreepbx.javascripts.js
r5095 r6220 1 1 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'))2 Is_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')) 3 3 Is_IE=false;function checkIt(string) 4 4 {place=detect.indexOf(string)+1;thestring=string;return place;} … … 24 24 {hideSelects(false);} 25 25 function setAllInfoToHideSelects() 26 {if(Is_IE )26 {if(Is_IE&&!Is_IE7) 27 27 {var allelems=document.all.tags('A');if(allelems!=null) 28 28 {var i,elem;for(i=0;elem=allelems[i];i++) freepbx/trunk/amp_conf/htdocs/admin/common/script.legacy.js
r5095 r6220 6 6 Is_NS4 = (document.layers) ? true : false; 7 7 Is_IE = (document.all) ? true : false; 8 Is_IE7 = Is_IE && window.XMLHttpRequest ? true : false; 8 9 9 10 // detect for konqueror, taken from … … 83 84 function setAllInfoToHideSelects() 84 85 { 85 if (Is_IE )86 if (Is_IE && !Is_IE7) 86 87 { 87 88 var allelems = document.all.tags('A');
