mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-14 09:16:05 +01:00
Fix updating themes
This commit is contained in:
@@ -328,7 +328,7 @@ $(function () {
|
|||||||
var length,
|
var length,
|
||||||
icon = '<i class="fa fa-bullhorn"></i>',
|
icon = '<i class="fa fa-bullhorn"></i>',
|
||||||
content = '{updates} ' + translations.PLUGIN_ADMIN.OF_YOUR + ' {type} ' + translations.PLUGIN_ADMIN.HAVE_AN_UPDATE_AVAILABLE,
|
content = '{updates} ' + translations.PLUGIN_ADMIN.OF_YOUR + ' {type} ' + translations.PLUGIN_ADMIN.HAVE_AN_UPDATE_AVAILABLE,
|
||||||
button = '<a href="{location}/' + task + 'update" class="button button-small secondary">' + translations.PLUGIN_ADMIN.UPDATE + ' {Type}</a>',
|
button = '<a href="{location}/' + task + 'update/admin-nonce' + GravAdmin.config.param_sep + GravAdmin.config.admin_nonce + '" class="button button-small secondary">' + translations.PLUGIN_ADMIN.UPDATE + ' {Type}</a>',
|
||||||
plugins = $('.grav-update.plugins'),
|
plugins = $('.grav-update.plugins'),
|
||||||
themes = $('.grav-update.themes'),
|
themes = $('.grav-update.themes'),
|
||||||
sidebar = {plugins: $('#admin-menu a[href$="/plugins"]'), themes: $('#admin-menu a[href$="/themes"]')};
|
sidebar = {plugins: $('#admin-menu a[href$="/plugins"]'), themes: $('#admin-menu a[href$="/themes"]')};
|
||||||
|
|||||||
Reference in New Issue
Block a user