svn commit: samba r10212 - in branches/SAMBA_4_0/swat/scripting/client: .

deryck at samba.org deryck at samba.org
Tue Sep 13 21:31:41 GMT 2005


Author: deryck
Date: 2005-09-13 21:31:40 +0000 (Tue, 13 Sep 2005)
New Revision: 10212

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10212

Log:
An IE fix.  Must set initial values in the onload function.

deryck

Modified:
   branches/SAMBA_4_0/swat/scripting/client/desktop.js


Changeset:
Modified: branches/SAMBA_4_0/swat/scripting/client/desktop.js
===================================================================
--- branches/SAMBA_4_0/swat/scripting/client/desktop.js	2005-09-13 21:26:25 UTC (rev 10211)
+++ branches/SAMBA_4_0/swat/scripting/client/desktop.js	2005-09-13 21:31:40 UTC (rev 10212)
@@ -8,12 +8,6 @@
 
 // The global widget we attach everything to
 var w = new QxWidget();
-with(w) {
-	setTop(0);
-	setLeft(0);
-	setWidth(docX());
-	setHeight(docY());
-}
 
 /* Qooxdoo's browser sniffer doesn't distinguish IE version.
 We'll cover IE 6 for now, but these checks need to be
@@ -143,6 +137,13 @@
 
 window.application.main = function()
 {
+	with(w) {
+		setTop(0);
+		setLeft(0);
+		setWidth(docX());
+		setHeight(docY());
+	}
+
 	var doc = this.getClientWindow().getClientDocument();
 	doc.addEventListener("contextmenu", contextMenu);
 	doc.add(w);



More information about the samba-cvs mailing list