From 81de1c4b127e116c8ca3e5df620b5c0a56a087bc Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 29 Aug 2014 12:12:23 +0200 Subject: [webui] Improve and fix 2 --- module/webui/themes/dark/js/render/admin.min.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 module/webui/themes/dark/js/render/admin.min.js (limited to 'module/webui/themes/dark/js/render/admin.min.js') diff --git a/module/webui/themes/dark/js/render/admin.min.js b/module/webui/themes/dark/js/render/admin.min.js new file mode 100644 index 000000000..94a5e494d --- /dev/null +++ b/module/webui/themes/dark/js/render/admin.min.js @@ -0,0 +1,3 @@ +{% autoescape true %} +var root;root=this;window.addEvent("domready",function(){var f,c,b,e,a,d;root.passwordDialog=new MooDialog({destroyOnHide:false});root.passwordDialog.setContent($("password_box"));$("login_password_reset").addEvent("click",function(g){return root.passwordDialog.close()});$("login_password_button").addEvent("click",function(j){var h,i,g;i=$("login_new_password").get("value");g=$("login_new_password2").get("value");if(i===g){h=$("password_form");h.set("send",{onSuccess:function(k){return root.notify.alert("Success",{className:"success"})},onFailure:function(k){return root.notify.alert("Error",{className:"error"})}});h.send();root.passwordDialog.close()}else{alert('{{_("Passwords did not match.")}}')}return j.stop()});d=$$(".change_password");for(e=0,a=d.length;e