Ticket #5434 (closed bug: fixed)
IE 8 function undefined() - Out of Stack Space
| Reported by: | swago | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8.3 |
| Component: | ui.accordion | Version: | 1.8 |
| Keywords: | Cc: |
Description
I believe this is an bug with IE8 but it does block the accordion from working. It only happens with IE8 and because of the JQuery name spacing it should not be happening.
Defining a function named 'undefined' after the jquery library has loaded will cause an 'Out of stack space' error in IE8.
To replicate download the UI development package from jquery version 1.8 and add the following function to the end of the script block inside of the index.html file:
function undefined(){
var undefined;
return undefined;
}
This will not break it in any other browser(except earlier versions of IE). To solve this we removed our function definition and replaced our checks for undefined with so we don't interfere with jquery:
(typeof(variable)=='undefined')
![(please configure the [header_logo] section in trac.ini)](/chrome/site/nologo.gif)
