UI is undefined
|
|
When testing Prototype-UI in IE 7 and Opera 9.24 I keep getting the following error: Opera = message: Statement on line 1: Reference to undefined variable: UI Firefox and Safari don’t seem to have this issue. I am able to create windows and shadows with no problems at all utilizing UI. I feel like I’m missing something obvious here, but I can’t find it. Has anyone got the UI working in IE or Opera? If so, did you have to mess w/ anything to avoid the UI undefined errors? Many thanks, |
|
|
I found the two following things allow for Windows to appear in IE and Opera: Line 2983 of prototype-ui: remove the comma at the end of the line This is a fix of a simple typo. Line 2637 of prototype-ui: remove the text ‘this.buttons.appendChild(button)’ Note the change above is a messy hack that doesn’t fix the issue. It does; however, allow one to get a window to appear in IE and Opera. I’ll keep looking at the code and see if I can fix it properly. :) Nathan |
|
|
Thanks Nathan for this little debug |
|
|
hi nathan, seb, i just downloaded window (from the startpage) and have the same problem! Is window still in production or is there a functional released version? Regards |