Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
3c2b2135
Commit
3c2b2135
authored
Mar 28, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libs/JQM: fix filter not allowing preventDefault until PR is merged
parent
edd23f40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ext/libs/jquery-mobile/jquery-mobile.js
ext/libs/jquery-mobile/jquery-mobile.js
+5
-3
No files found.
ext/libs/jquery-mobile/jquery-mobile.js
View file @
3c2b2135
/* HACKS: #7155, #7162
/* HACKS: #7155, #7162
, #7154
/*!
* jQuery Mobile 1.4.3pre
* Git HEAD hash: 77b5304ec0510824e6f014e6caf716701db6abd2 <> Date: Thu Mar 6 2014 16:14:07 UTC
...
...
@@ -13671,7 +13671,9 @@ $.widget( "mobile.filterable", {
}
this
.
_timer
=
this
.
_delay
(
function
()
{
this
.
_trigger
(
"
beforefilter
"
,
null
,
{
input
:
search
}
);
if
(
this
.
_trigger
(
"
beforefilter
"
,
null
,
{
input
:
search
}
)
===
false
)
{
return
false
;
}
// Change val as lastval for next execution
search
[
0
].
setAttribute
(
"
data-
"
+
$
.
mobile
.
ns
+
"
lastval
"
,
val
);
...
...
@@ -13882,7 +13884,7 @@ $.widget( "mobile.filterable", $.mobile.filterable, {
// Also trigger listviewbeforefilter if this widget is also a listview
this
.
_widget
.
_trigger
(
"
beforefilter
"
,
event
,
data
);
}
this
.
_super
(
type
,
event
,
data
);
return
this
.
_super
(
type
,
event
,
data
);
},
_setWidget
:
function
(
widget
)
{
...
...
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