mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r10212: An IE fix. Must set initial values in the onload function.
deryck
This commit is contained in:
parent
b1ad340b47
commit
3264ccf743
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user