From c4d2777542413eaf3a3a7bc74df15a274b2128c2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 15 Nov 2014 15:01:56 +0100 Subject: Rename theme "estate" to "clearbright" --- pyload/webui/themes/clearbright/js/render/admin.min.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyload/webui/themes/clearbright/js/render/admin.min.js (limited to 'pyload/webui/themes/clearbright/js/render/admin.min.js') diff --git a/pyload/webui/themes/clearbright/js/render/admin.min.js b/pyload/webui/themes/clearbright/js/render/admin.min.js new file mode 100644 index 000000000..94a5e494d --- /dev/null +++ b/pyload/webui/themes/clearbright/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