diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-10 14:07:44 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-10 14:07:44 +0100 |
commit | 626cea75e122729a76efbbf98011d39d22f72fee (patch) | |
tree | 6f4b023a7f35c4684185ece5be039cb78a24d6a3 /module/web/media | |
parent | webif user managment (diff) | |
download | pyload-626cea75e122729a76efbbf98011d39d22f72fee.tar.xz |
new l18n files
Diffstat (limited to 'module/web/media')
-rw-r--r-- | module/web/media/default/js/settings_ui.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/web/media/default/js/settings_ui.js b/module/web/media/default/js/settings_ui.js index 77b28c39c..338556675 100644 --- a/module/web/media/default/js/settings_ui.js +++ b/module/web/media/default/js/settings_ui.js @@ -1,3 +1,4 @@ +var success_msg,failed_msg; var account_dialog; function show_account_dialog() { @@ -82,13 +83,13 @@ var SettingsUI = new Class({ "method": "post", "url": "/json/save_config/" + category, "onSuccess" : function() { - notify.alert('Settings saved', { + notify.alert(success_msg, { 'className': 'success' }); }, "onFailure": function() { - notify.alert('Error occured', { + notify.alert(failed_msg, { 'className': 'error' }); } @@ -108,7 +109,7 @@ var SettingsUI = new Class({ window.location.reload() }, "onFailure": function() { - notify.alert('Error occured', { + notify.alert(failed_msg, { 'className': 'error' }); } |