[Qooxdoo-commit] qooxdoo/source/script/gui QxNativeWindow.js,1.1.2.18,1.1.2.19
Brought to you by:
ecker,
martinwittemann
|
From: Sebastian W. <wp...@us...> - 2006-01-24 12:24:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16310/source/script/gui Modified Files: Tag: renderer QxNativeWindow.js Log Message: Minor improvements Index: QxNativeWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxNativeWindow.js,v retrieving revision 1.1.2.18 retrieving revision 1.1.2.19 diff -u -d -r1.1.2.18 -r1.1.2.19 --- QxNativeWindow.js 24 Jan 2006 12:21:40 -0000 1.1.2.18 +++ QxNativeWindow.js 24 Jan 2006 12:23:53 -0000 1.1.2.19 @@ -157,8 +157,16 @@ proto._modifyPosition = function(propValue, propOldValue, propName) { - if (!this.isClosed()) { - this._window.moveTo(this.getLeft(), this.getTop()); + if (!this.isClosed()) + { + try + { + this._window.moveTo(this.getLeft(), this.getTop()); + } + catch(ex) + { + this.error("Cross-Domain Scripting problem: Could not move window!"); + }; }; return true; @@ -192,6 +200,8 @@ + + /* --------------------------------------------------------------------------- NAME |