diff options
Diffstat (limited to 'modules-available/adduser/templates/js-add-edit.html')
-rw-r--r-- | modules-available/adduser/templates/js-add-edit.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules-available/adduser/templates/js-add-edit.html b/modules-available/adduser/templates/js-add-edit.html index 95454c22..db8d435a 100644 --- a/modules-available/adduser/templates/js-add-edit.html +++ b/modules-available/adduser/templates/js-add-edit.html @@ -6,6 +6,9 @@ document.addEventListener('DOMContentLoaded', function() { var $fullname = $('#fullname'); var $msg = $('#add-msg'); var $btn = $('.save-btn'); + if (typeof SLX_EDITUSER === 'undefined') { + SLX_EDITUSER = false; + } var ev = function() { var msg = ''; if ($login.val().length < 2) { |