mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-22 06:42:44 +00:00
Monotone-Parent: 8b5761d2acde444a5c7b9214e3506a044c23919b
Monotone-Revision: c44cce7c2e022aab27ce96484383b17671de3791 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-20T17:11:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
var contactSelectorAction = 'acls-contacts';
|
||||
var defaultUserID = '';
|
||||
var userRightsHeight;
|
||||
var userRightsWidth;
|
||||
var AclEditor = {
|
||||
userRightsHeight: null,
|
||||
userRightsWidth: null
|
||||
};
|
||||
|
||||
function addUser(userName, userID) {
|
||||
if (!$(userID)) {
|
||||
@@ -100,8 +102,8 @@ function openRightsForUserID(userID) {
|
||||
elements[elements.length-1] = "userRights?uid=" + userID;
|
||||
|
||||
window.open(elements.join("/"), "",
|
||||
"width=" + userRightsWidth
|
||||
+ ",height=" + userRightsHeight
|
||||
"width=" + AclEditor['userRightsWidth']
|
||||
+ ",height=" + AclEditor['userRightsHeight']
|
||||
+ ",resizable=0,scrollbars=0,toolbar=0,"
|
||||
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
}
|
||||
@@ -141,8 +143,8 @@ function onAclLoadHandler() {
|
||||
Event.observe(buttons[1], "click", onUserRemove);
|
||||
}
|
||||
|
||||
userRightsHeight = window.opener.getUsersRightsWindowHeight();
|
||||
userRightsWidth = window.opener.getUsersRightsWindowWidth();
|
||||
AclEditor['userRightsHeight'] = window.opener.getUsersRightsWindowHeight();
|
||||
AclEditor['userRightsWidth'] = window.opener.getUsersRightsWindowWidth();
|
||||
}
|
||||
|
||||
FastInit.addOnLoad(onAclLoadHandler);
|
||||
|
||||
Reference in New Issue
Block a user