Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11374/source/script/gui
Modified Files:
Tag: renderer
QxNativeWindow.js
Log Message:
Fixed ugly bug
Index: QxNativeWindow.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxNativeWindow.js,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -u -d -r1.1.2.16 -r1.1.2.17
--- QxNativeWindow.js 23 Jan 2006 17:04:30 -0000 1.1.2.16
+++ QxNativeWindow.js 24 Jan 2006 08:39:21 -0000 1.1.2.17
@@ -155,10 +155,11 @@
return true;
};
-proto._modifyUrl = function(propValue, propOldValue, propName) {
-
+proto._modifyUrl = function(propValue, propOldValue, propName)
+{
+ // String hack needed for old compressor (compile.py)
if(!this.isClosed()) {
- this._window.location.replace(QxUtil.isValidString(propValue) ? propValue : ("javascript://"));
+ this._window.location.replace(QxUtil.isValidString(propValue) ? propValue : ("javascript:/" + "/"));
};
return true;
|