Changeset 2271
- Timestamp:
- 08/22/06 09:26:29 (7 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.1/amp_conf/htdocs/admin/common/script.js.php
r1872 r2271 26 26 Is_NS4 = (document.layers) ? true : false; 27 27 Is_IE = (document.all) ? true : false; 28 29 // detect for konqueror, taken from 30 // http://www.javascript-source.com/ 31 var detect = navigator.userAgent.toLowerCase(); 32 if (checkIt('konqueror')) 33 Is_IE = false; 34 35 function checkIt(string) 36 { 37 place = detect.indexOf(string) + 1; 38 thestring = string; 39 return place; 40 } 41 28 42 Is_IE4 = Is_IE && !Is_DOM; 29 43 Is_Mac = (navigator.appVersion.indexOf("Mac") != -1); freepbx/trunk/amp_conf/htdocs/admin/common/script.js.php
r2198 r2271 26 26 Is_NS4 = (document.layers) ? true : false; 27 27 Is_IE = (document.all) ? true : false; 28 29 // detect for konqueror, taken from 30 // http://www.javascript-source.com/ 31 var detect = navigator.userAgent.toLowerCase(); 32 if (checkIt('konqueror')) 33 Is_IE = false; 34 35 function checkIt(string) 36 { 37 place = detect.indexOf(string) + 1; 38 thestring = string; 39 return place; 40 } 41 28 42 Is_IE4 = Is_IE && !Is_DOM; 29 43 Is_Mac = (navigator.appVersion.indexOf("Mac") != -1);
