![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/public/assets/js/users/ |
(()=>{"use strict";$(document).on("click","#changePassword",(function(){$("#changePasswordForm")[0].reset(),$(".pass-check-meter div.flex-grow-1").removeClass("active"),$("#changePasswordModal").modal("show").appendTo("body")})),$(document).on("click","#passwordChangeBtn",(function(){$.ajax({url:changePasswordUrl,type:"PUT",data:$("#changePasswordForm").serialize(),success:function(e){$("#changePasswordModal").modal("hide"),$("#changePasswordForm")[0].reset(),displaySuccessMessage(e.message),setTimeout((function(){location.reload()}),1e3)},error:function(e){displayErrorMessage(e.responseJSON.message)}})})),window.printErrorMessage=function(e,o){$(e).show().html(""),$(e).text(o.message)},$(document).on("click","#emailNotification",(function(){$("#emailNotificationModal").modal("show").appendTo("body"),$("#emailNotificationForm")[0].reset()})),$(document).on("click","#emailNotificationChange",(function(){$.ajax({url:route("emailNotification"),type:"PUT",data:$("#emailNotificationForm").serialize(),success:function(e){$("#emailNotificationModal").modal("hide"),displaySuccessMessage(e.message)},error:function(e){displayErrorMessage(e.responseJSON.message)}})}))})();