From: Rotundo, Alfred (ar3165) Date: Mon, 25 Feb 2019 14:45:12 +0000 (+0000) Subject: readonly user cannot be updated within AdmPortal X-Git-Tag: 1.5.0~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c0c8de124db0d84992c796af836c8e73801b7366;p=sdnc%2Foam.git 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) Former-commit-id: c36cf1285931ec813b9514b6ee60ac6aa6c80c27 --- 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';