mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
See ChangeLog
Monotone-Parent: 89320b31db49181dce46dc16f17984d806609750 Monotone-Revision: 3567e5aef4045091a835f8185e4f1ff94e748c78 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-08-11T17:23:59
This commit is contained in:
@@ -36,14 +36,19 @@ function addUser(userName, userID) {
|
||||
var elements = url.split("/");
|
||||
elements[elements.length-1] = ("addUserInAcls?uid="
|
||||
+ userID);
|
||||
triggerAjaxRequest(elements.join("/"), addUserCallback);
|
||||
triggerAjaxRequest(elements.join("/"), addUserCallback, newNode);
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function addUserCallback(http) {
|
||||
// Ignore response
|
||||
if (http.readyState == 4) {
|
||||
if (!isHttpStatus204(http.status)) {
|
||||
var node = http.callbackData;
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setEventsOnUserNode(node) {
|
||||
|
||||
Reference in New Issue
Block a user