aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views
diff options
context:
space:
mode:
authorRotundo, Alfred (ar3165) <ar3165@att.com>2019-02-25 14:45:12 +0000
committerRotundo, Alfred (ar3165) <ar3165@att.com>2019-02-25 14:45:12 +0000
commitc0c8de124db0d84992c796af836c8e73801b7366 (patch)
treebc9c81851cba2e4ea4f4eef87bf164864e22011e /admportal/views
parent8dbbd82465ea1b409dfcd164ef79401f4b3b24ca (diff)
readonly user cannot be updated within AdmPortal
corrected syntax error on user admin page preventing the update button from working. Change-Id: If5cecca946977706751fae64b7fc8f76100f7825 Issue-ID: SDNC-661 Signed-off-by: Rotundo, Alfred (ar3165) <ar3165@att.com> Former-commit-id: c36cf1285931ec813b9514b6ee60ac6aa6c80c27
Diffstat (limited to 'admportal/views')
-rw-r--r--admportal/views/user/list.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/admportal/views/user/list.ejs b/admportal/views/user/list.ejs
index 4a4e909c..947a8114 100644
--- a/admportal/views/user/list.ejs
+++ b/admportal/views/user/list.ejs
@@ -178,7 +178,7 @@ function updateRequest(email,password,privilege) {
document.getElementById('uf_confirm_password').value = password;
if ( privilege == "A" ){
document.getElementById('uf_privilege').value = 'admin';
- }else if (priv == "R"){
+ }else if (privilege == "R"){
document.getElementById('uf_privilege').value = 'readonly';
}else{
document.getElementById('uf_privilege').value = 'admin';