Revision 432d654e
Added by Scott Ullrich over 20 years ago
usr/local/www/auto_complete_helper.js | ||
---|---|---|
56 | 56 |
return tobuild; |
57 | 57 |
} |
58 | 58 |
function actb_generate(){ |
59 |
if(navigator.appName == "Microsoft Internet Explorer") |
|
59 |
if(navigator.appName == "Microsoft Internet Explorer") { |
|
60 |
if(actb_keywords.length < 1) return; // if no items setup, do not invoke code. prevent ie crashing. |
|
60 | 61 |
if (document.getElementById('tat_frame')) document.body.removeChild(document.getElementById('tat_frame')); |
62 |
} |
|
61 | 63 |
if (document.getElementById('tat_table')) document.body.removeChild(document.getElementById('tat_table')); |
62 | 64 |
if(navigator.appName == "Microsoft Internet Explorer") { |
63 | 65 |
frame = document.createElement('iframe'); |
Also available in: Unified diff
Do not try to activate dropdown code if no auto complete items are defined the browser is ie