From 7fcf0bc305f10bea2a654ecfa4d7ae8480261fb6 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Mon, 12 Mar 2012 12:53:10 +0100 Subject: [PATCH] Bug #1160: Remove publish/unpublish from action buttons in template tab (cherry picked from commit 68fd07d333eff379e0a599027e23b35129128bdf) --- src/sunstone/public/js/plugins/templates-tab.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 5375aaf892..c7b253496f 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -801,19 +801,7 @@ var template_buttons = { tip: tr("Select the new group")+":", condition: mustBeAdmin }, - "action_list" : { - type: "select", - actions: { - "Template.publish" : { - type: "action", - text: tr("Publish") - }, - "Template.unpublish" : { - type: "action", - text: tr("Unpublish") - }, - } - }, + "Template.delete" : { type: "confirm", text: tr("Delete")