Monotone-Parent: 92528ef4ae9b54bc30415a773c3bf6013e284be0

Monotone-Revision: 048d106563715d2fe3f7e783e8caec9f3ad005e2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-27T22:06:58
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-27 22:06:58 +00:00
parent 58865b869b
commit e1db62a8bb
4 changed files with 34 additions and 16 deletions
+6 -3
View File
@@ -71,10 +71,10 @@ function openRightsForUser(button) {
elements[elements.length-1] = ("userRights?uid="
+ nodes[0].getAttribute("id"));
window.open(elements.join("/"), "",
"width=502,height=250,resizable=0,scrollbars=0,toolbar=0,"
"width=" + this.userRightsWidth
+ ",height=" + this.userRightsHeight
+ ",resizable=0,scrollbars=0,toolbar=0,"
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
}
@@ -98,6 +98,9 @@ function onAclLoadHandler() {
var buttons = $("userSelectorButtons").childNodesWithTag("a");
buttons[0].addEventListener("click", onUserAdd, false);
buttons[1].addEventListener("click", onUserRemove, false);
this.userRightsHeight = window.opener.getUsersRightsWindowHeight();
this.userRightsWidth = window.opener.getUsersRightsWindowWidth();
}
window.addEventListener("load", onAclLoadHandler, false);