From 1361bbb1e6a47266cf3a11b2ddba77706522d9e0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 21 Aug 2014 14:15:43 +0200 Subject: Cleanup routes --- settings/js/personal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'settings/js') diff --git a/settings/js/personal.js b/settings/js/personal.js index d6763cdb295..d6546717d16 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -306,7 +306,7 @@ $(document).ready(function () { $('#sslCertificate').on('click', 'td.remove > img', function () { var row = $(this).parent().parent(); - $.post(OC.filePath('settings', 'ajax', 'removeRootCertificate.php'), { + $.post(OC.generateUrl('settings/ajax/removeRootCertificate'), { cert: row.data('name') }); row.remove(); @@ -317,7 +317,6 @@ $(document).ready(function () { $('#rootcert_import').fileupload({ done: function (e, data) { - console.log(data.result); var issueDate = new Date(data.result.validFrom * 1000); var expireDate = new Date(data.result.validTill * 1000); var now = new Date(); -- cgit v1.2.3