Oliver Vogel schrieb:
Hi sebastian (long time not headred from me ;-)

i am actually porting my app from the "old" qooxdoo - version to 0.5.
at the first step, my app will not work. this is "clearly my problem". But by porting, i found out, that there is a problem in:

function QxApplicationUnload(){window.application.dispose();...

because my app will not work, window.application is NOT DEFINED and so QxApplicationUnload will force a error. so i thing it is better to wrote
try
 window.application.dispose();
except
...

or (if you like it better)
if (window.application) {
 window.application.dispose();
...

I don't know why your application influences the availability of window.application as this will be defined during the load of qooxdoo, but I have just changed it in CVS to keep you happy ;)

Sebastian



Olli



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to