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
|