Commit 4bd8a8c9 by Kartik Visweswaran Committed by Qiang Xue

Corrected trigger element for beforeFilter

parent df99a243
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
// triggers `beforeFilter` grid event with the filter form as a parameter // triggers `beforeFilter` grid event with the filter form as a parameter
event = $.Event(gridEvents.beforeFilter); event = $.Event(gridEvents.beforeFilter);
$form.trigger(event, [$form]); $grid.trigger(event, [$form]);
if (event.result === false) { if (event.result === false) {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment