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
c3b633ec
Commit
c3b633ec
authored
Jul 25, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JQM: add allowSamePageTransition option
parent
87fecb2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/searchbar/searchbar.js
modules/searchbar/searchbar.js
+6
-1
No files found.
modules/searchbar/searchbar.js
View file @
c3b633ec
...
@@ -12,9 +12,9 @@ define([
...
@@ -12,9 +12,9 @@ define([
value
,
runSearch
;
value
,
runSearch
;
runSearch
=
function
(
value
)
{
runSearch
=
function
(
value
)
{
// only go to search.html, if we are currently not on it, else only trigger hashchange
$
.
mobile
.
changePage
(
"
search.html
"
,
{
$
.
mobile
.
changePage
(
"
search.html
"
,
{
"
transition
"
:
"
slide
"
,
"
transition
"
:
"
slide
"
,
"
allowSamePageTransition
"
:
true
,
"
data
"
:
{
"
data
"
:
{
"
search
"
:
value
"
search
"
:
value
}
}
...
@@ -23,6 +23,8 @@ define([
...
@@ -23,6 +23,8 @@ define([
filter
.
on
(
"
filterbarbeforefilter
"
,
function
(
e
,
data
)
{
filter
.
on
(
"
filterbarbeforefilter
"
,
function
(
e
,
data
)
{
value
=
data
.
input
.
value
;
value
=
data
.
input
.
value
;
// stop JQM
e
.
preventDefault
();
if
(
value
)
{
if
(
value
)
{
// now we can autocomplete...
// now we can autocomplete...
...
@@ -41,7 +43,10 @@ define([
...
@@ -41,7 +43,10 @@ define([
// question will be how to store information...
// question will be how to store information...
// if we follow the DC scheme, we have some core metadata and the
// if we follow the DC scheme, we have some core metadata and the
// rest must be stored in an attachment.
// rest must be stored in an attachment.
// and jIO
}
}
})
})
.
on
(
"
filterbarcreate
"
,
function
(
e
,
ui
)
{
.
on
(
"
filterbarcreate
"
,
function
(
e
,
ui
)
{
var
uuid
=
$
(
e
.
target
).
data
(
"
mobileFilterbar
"
).
uuid
,
var
uuid
=
$
(
e
.
target
).
data
(
"
mobileFilterbar
"
).
uuid
,
...
...
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