diff options
author | zotlabs <mike@macgirvin.com> | 2018-06-28 16:43:22 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-06-28 16:43:22 -0700 |
commit | fa6e5e4d754fec3acee019ed1edaa68357f0c2d0 (patch) | |
tree | bd55d8c2f75c19e9725c781b61fe3715dc7a6459 /view | |
parent | cae0a26ac087448a12b3bb913bc53f6c9b6603d4 (diff) | |
download | volse-hubzilla-fa6e5e4d754fec3acee019ed1edaa68357f0c2d0.tar.gz volse-hubzilla-fa6e5e4d754fec3acee019ed1edaa68357f0c2d0.tar.bz2 volse-hubzilla-fa6e5e4d754fec3acee019ed1edaa68357f0c2d0.zip |
plugins -> addons
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/admin_plugins.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index adc0db434..d8e1a6711 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -77,7 +77,7 @@ var repoName = $('#id_repoName').val(); $('#chat-rotator').show(); $.post( - "/admin/plugins/addrepo", {repoURL: repoURL, repoName: repoName}, + "/admin/addons/addrepo", {repoURL: repoURL, repoName: repoName}, function(response) { $('#chat-rotator').hide(); if (response.success) { @@ -104,7 +104,7 @@ var repoURL = $('#id_repoURL').val(); var repoName = $('#id_repoName').val(); $.post( - "/admin/plugins/installrepo", {repoURL: repoURL, repoName: repoName}, + "/admin/addons/installrepo", {repoURL: repoURL, repoName: repoName}, function(response) { if (response.success) { $('#generic-modal-title-{{$newRepoModalID}}').html('Addon repo installed'); @@ -137,7 +137,7 @@ function updateAddonRepo(repoName) { if(confirm('Are you sure you want to update the addon repo ' + repoName + '?')) { $.post( - "/admin/plugins/updaterepo", {repoName: repoName}, + "/admin/addons/updaterepo", {repoName: repoName}, function(response) { if (response.success) { window.console.log('Addon repo '+repoName+' successfully updated :' + response['message']); @@ -170,7 +170,7 @@ // TODO: Unlink the addons if(confirm('Are you sure you want to remove the addon repo ' + repoName + '?')) { $.post( - "/admin/plugins/removerepo", {repoName: repoName}, + "/admin/addons/removerepo", {repoName: repoName}, function(response) { if (response.success) { window.console.log('Addon repo '+repoName+' successfully removed :' + response['message']); |