multiEdit, action pre-filter: pass 'actions' in options object

This commit is contained in:
Brian Federle 2013-04-09 12:50:02 -07:00
parent 6a1d384761
commit 685a8a72ce
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@
// Action filter
var allowedActions = options.preFilter ? options.preFilter({
actions: $.map(actions, function(value, key) { return key; }),
context: $.extend(true, {}, options.context, {
multiRule: [data],
actions: $.map(actions, function(value, key) { return key; })