aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-21 14:15:43 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-31 10:47:50 +0200
commit1361bbb1e6a47266cf3a11b2ddba77706522d9e0 (patch)
tree7051743b5c3e07f54053e537258f3ae139c774ba /settings/js
parente64aa330fdd6ce6180a0ffcf3634dbcae31abfff (diff)
downloadnextcloud-server-1361bbb1e6a47266cf3a11b2ddba77706522d9e0.tar.gz
nextcloud-server-1361bbb1e6a47266cf3a11b2ddba77706522d9e0.zip
Cleanup routes
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/personal.js3
1 files changed, 1 insertions, 2 deletions
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();