From ff9e2205c99f233904d454c49e28de9bd851bb81 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 7 Dec 2009 16:11:49 +0000 Subject: [PATCH] fix ajax call for workflow_action publish in moderation view. svn path=/plone.app.discussion/trunk/; revision=32342 --- plone/app/discussion/browser/javascripts/moderation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plone/app/discussion/browser/javascripts/moderation.js b/plone/app/discussion/browser/javascripts/moderation.js index cf930c7..c8fd9d0 100644 --- a/plone/app/discussion/browser/javascripts/moderation.js +++ b/plone/app/discussion/browser/javascripts/moderation.js @@ -59,6 +59,7 @@ jq(document).ready(function() { jq.ajax({ type: "GET", url: target, + data: "workflow_action=publish", success: function(msg){ if (currentFilter == 'pending') { // fade out row