aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-auth/src/main/webapp/user/js/user.js
diff options
context:
space:
mode:
authorzhouruiyu <zhouruiyu@huawei.com>2016-10-14 17:30:21 +0800
committerzhouruiyu <zhouruiyu@huawei.com>2016-10-14 17:30:21 +0800
commitae6504e2975ae86e0e1e530cb4635aebdee1b342 (patch)
tree83846c12f568c26032fbb06a63e7f90e8325b95c /openo-portal/portal-auth/src/main/webapp/user/js/user.js
parent044aaaa01c29c34b18c2370e81a8e5b6252782dd (diff)
integration with CMCC portal.
1. change the import js and css path into the right one ; https://jira.open-o.org/browse/OCS-113 Change-Id: I40bd3fe5e8cd532f260db1275292a7c0f9e3f4a9 Signed-off-by: zhouruiyu <zhouruiyu@huawei.com>
Diffstat (limited to 'openo-portal/portal-auth/src/main/webapp/user/js/user.js')
-rw-r--r--openo-portal/portal-auth/src/main/webapp/user/js/user.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/openo-portal/portal-auth/src/main/webapp/user/js/user.js b/openo-portal/portal-auth/src/main/webapp/user/js/user.js
index bc442616..11f2326c 100644
--- a/openo-portal/portal-auth/src/main/webapp/user/js/user.js
+++ b/openo-portal/portal-auth/src/main/webapp/user/js/user.js
@@ -15,8 +15,8 @@
*/
$(document).ready(function() {
var USER_SERVICE = "/openoapi/auth/v1/users";
- var deleteEditOpt = "<img class='edit' title='edit' src='/openoui/auth/v1/user/images/edit.png'><img class='changePsd' title='Change Password' src='/openoui/auth/v1/user/images/reset.png'><img class='delete' title='delete' src='/openoui/auth/v1/user/images/delete.png'>";
- var editOpt = "<img class='edit' title='edit' src='/openoui/auth/v1/user/images/edit.png'><img class='changePsd' title='Change Password' src='/openoui/auth/v1/user/images/reset.png'>";
+ var deleteEditOpt = "<img class='edit' title='edit' src='/openoui/user/images/edit.png'><img class='changePsd' title='Change Password' src='/openoui/user/images/reset.png'><img class='delete' title='delete' src='/openoui/user/images/delete.png'>";
+ var editOpt = "<img class='edit' title='edit' src='/openoui/user/images/edit.png'><img class='changePsd' title='Change Password' src='/openoui/user/images/reset.png'>";
var userListHeader = [
{ title: "User", data: "User",width: "20%"},
@@ -54,14 +54,14 @@ $(document).ready(function() {
}
})
} else if (classname == "edit") {
- window.document.location = "/openoui/auth/v1/user/html/modifyUser.html" + "?id=" + id;
+ window.document.location = "/openoui/user/modifyUser.html" + "?id=" + id;
} else if (classname == "changePsd") {
- window.document.location = "/openoui/auth/v1/user/html/changePassword.html" + "?id=" + id;
+ window.document.location = "/openoui/user/changePassword.html" + "?id=" + id;
}
})
$("#create").click(function(e) {
- window.document.location = "/openoui/auth/v1/user/html/createUser.html";
+ window.document.location = "/openoui/user/createUser.html";
})
}