Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
df99a243
Commit
df99a243
authored
Sep 20, 2014
by
Kartik Visweswaran
Committed by
Qiang Xue
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated comments for beforeFilter and afterFilter events
parent
141e3d70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yii.gridView.js
framework/assets/yii.gridView.js
+2
-2
No files found.
framework/assets/yii.gridView.js
View file @
df99a243
...
...
@@ -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
]);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment