diff options
author | Deryck Hodge <deryck@samba.org> | 2005-09-13 21:31:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:08 -0500 |
commit | 234481fd40f02a3cd2cccfea0909d248b82a83d8 (patch) | |
tree | c95c2c0dd9b3d55d4a356c961cb0b07a529de11f /swat | |
parent | 5d2c2edc19d471cb2b757c53eeb007f4dd7f9348 (diff) | |
download | samba-234481fd40f02a3cd2cccfea0909d248b82a83d8.tar.gz |
r10212: An IE fix. Must set initial values in the onload function.
deryck
(This used to be commit 3264ccf7438e003c3ed217f2d4a7315aceb05eb1)
Diffstat (limited to 'swat')
-rw-r--r-- | swat/scripting/client/desktop.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/swat/scripting/client/desktop.js b/swat/scripting/client/desktop.js index bddd38b60c8..e8f10f6efa6 100644 --- a/swat/scripting/client/desktop.js +++ b/swat/scripting/client/desktop.js @@ -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 @@ function contextMenu(e) 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); |