From 5a88f296009ec6c4d056b936e03c35546dfb2e93 Mon Sep 17 00:00:00 2001 From: abijah Date: Thu, 18 Jun 2009 03:45:43 +0000 Subject: [PATCH] Modified to prevent stepping on the user's action if already set. git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@165 97e9348a-65ac-dc4b-aefc-98561f571b83 --- views/elements/jqGrid.ctp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/elements/jqGrid.ctp b/views/elements/jqGrid.ctp index f41e985..1b4ae4b 100644 --- a/views/elements/jqGrid.ctp +++ b/views/elements/jqGrid.ctp @@ -77,7 +77,8 @@ $postData['fields'] = serialize(array_map(create_function('$col', // Determine if we're to be using a custom list, or if // the data will simply be action based. if (isset($custom_ids)) { - $action = 'idlist'; + if (!isset($action)) + $action = 'idlist'; $postData['idlist'] = serialize($custom_ids); } elseif (!isset($action)) {