summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-02 22:30:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-02 22:30:24 +0100
commit1291303c5a312fad9f01fbaf22cc21e3b9b3675d (patch)
treec1e46efc7589c3101a8c3806ecc3112c8f3e2849 /settings/js/admin.js
parent88c9ae129e7dcc0e10aee682c8d4fa31b93b614c (diff)
downloadnextcloud-server-1291303c5a312fad9f01fbaf22cc21e3b9b3675d.tar.gz
nextcloud-server-1291303c5a312fad9f01fbaf22cc21e3b9b3675d.zip
Replace OC.Router.generate() with OC.generateUrl()
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 5ea6a5af2df..cfb1cb788d0 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -64,7 +64,7 @@ $(document).ready(function(){
$('#mail_settings').change(function(){
OC.msg.startSaving('#mail_settings .msg');
var post = $( "#mail_settings" ).serialize();
- $.post(OC.Router.generate('settings_mail_settings'), post, function(data){
+ $.post(OC.generateUrl('/settings/admin/mailsettings'), post, function(data){
OC.msg.finishedSaving('#mail_settings .msg', data);
});
});