diff options
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index d1dc23382f9..1e27c1be7e3 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -117,9 +117,9 @@ $(document).ready(function(){ } }); - $('#mail_general_settings').change(function(){ + $('#mail_general_settings_form').change(function(){ OC.msg.startSaving('#mail_settings_msg'); - var post = $( "#mail_general_settings" ).serialize(); + var post = $( "#mail_general_settings_form" ).serialize(); $.post(OC.generateUrl('/settings/admin/mailsettings'), post, function(data){ OC.msg.finishedSaving('#mail_settings_msg', data); }); |