From b6249220fd37fa38da24064ce6893284117e966b Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 23 Apr 2011 13:32:08 +0000 Subject: Only reset one type of extension. git-svn-id: http://piwigo.org/svn/trunk@10596 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/updates_ext.tpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/updates_ext.tpl b/admin/themes/default/template/updates_ext.tpl index a4f52f10b..84795571d 100644 --- a/admin/themes/default/template/updates_ext.tpl +++ b/admin/themes/default/template/updates_ext.tpl @@ -4,7 +4,7 @@ {footer_script require='jquery.effects.blind,jquery.ajaxmanager,jquery.jgrowl'} var pwg_token = '{$PWG_TOKEN}'; -var extList = new Array(); +var extType = '{$EXT_TYPE}'; var confirmMsg = '{'Are you sure?'|@translate|@escape:'javascript'}'; var errorHead = '{'ERROR'|@translate|@escape:'javascript'}'; var successHead = '{'Update Complete'|@translate|@escape:'javascript'}'; @@ -41,7 +41,7 @@ function resetIgnored() { type: 'GET', url: 'ws.php', dataType: 'json', - data: { method: 'pwg.extensions.ignoreUpdate', reset: true, pwg_token: pwg_token, format: 'json' }, + data: { method: 'pwg.extensions.ignoreUpdate', reset: true, type: extType, pwg_token: pwg_token, format: 'json' }, success: function(data) { if (data['stat'] == 'ok') { jQuery(".pluginBox, fieldset").show(); @@ -144,7 +144,6 @@ checkFieldsets();
-
@@ -153,7 +152,7 @@ checkFieldsets(); {'Please wait...'|@translate}
- + {if not empty($update_plugins)}
-- cgit v1.2.3