Fix URL encoding of user id in UIxAclEditor.js

This commit is contained in:
Francis Lachapelle
2013-01-25 13:55:22 -05:00
parent 663346e8ec
commit 292ed9cfc8
+1 -1
View File
@@ -41,7 +41,7 @@ function addUser(userName, userID, type) {
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = ("addUserInAcls?uid="
+ userID);
+ encodeURIComponent(userID));
triggerAjaxRequest(elements.join("/"), addUserCallback, newNode);
result = true;
}