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
diff --git a/admportal/views/user/list.ejs b/admportal/views/user/list.ejs
index 4a4e909..947a811 100644
--- a/admportal/views/user/list.ejs
+++ b/admportal/views/user/list.ejs
@@ -178,7 +178,7 @@
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';