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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
db99b5fd
Commit
db99b5fd
authored
Sep 21, 2014
by
Kartik Visweswaran
Committed by
Qiang Xue
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup - beforeFilter and afterFilter events
parent
2c64ee0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
yii.gridView.js
framework/assets/yii.gridView.js
+0
-2
No files found.
framework/assets/yii.gridView.js
View file @
db99b5fd
...
...
@@ -104,7 +104,6 @@
$form
.
append
(
$
(
'<input type="hidden" name="t" value="" />'
).
attr
(
'name'
,
name
).
val
(
value
));
});
// triggers `beforeFilter` grid event with the filter form as a parameter
event
=
$
.
Event
(
gridEvents
.
beforeFilter
);
$grid
.
trigger
(
event
);
if
(
event
.
result
===
false
)
{
...
...
@@ -113,7 +112,6 @@
$form
.
submit
();
// triggers `afterFilter` grid event with the filter form as a parameter
$grid
.
trigger
(
gridEvents
.
afterFilter
);
},
...
...
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