Commit df99a243 by Kartik Visweswaran Committed by Qiang Xue

Updated comments for beforeFilter and afterFilter events

parent 141e3d70
......@@ -107,7 +107,7 @@
$form.append($('<input type="hidden" name="t" value="" />').attr('name', name).val(value));
});
// triggers a 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);
$form.trigger(event, [$form]);
if (event.result === false) {
......@@ -116,7 +116,7 @@
$form.submit();
// triggers a afterFilter grid event with the filter form as a parameter
// triggers `afterFilter` grid event with the filter form as a parameter
event = $.Event(gridEvents.afterFilter);
$grid.trigger(event, [$form]);
},
......
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