Commit c3b633ec authored by Sven Franck's avatar Sven Franck

JQM: add allowSamePageTransition option

parent 87fecb2f
......@@ -12,9 +12,9 @@ define([
value, runSearch;
runSearch = function (value) {
// only go to search.html, if we are currently not on it, else only trigger hashchange
$.mobile.changePage( "search.html", {
"transition": "slide",
"allowSamePageTransition": true,
"data": {
"search": value
}
......@@ -23,6 +23,8 @@ define([
filter.on("filterbarbeforefilter", function (e, data) {
value = data.input.value;
// stop JQM
e.preventDefault();
if ( value ) {
// now we can autocomplete...
......@@ -41,7 +43,10 @@ define([
// question will be how to store information...
// if we follow the DC scheme, we have some core metadata and the
// rest must be stored in an attachment.
// and jIO
}
})
.on( "filterbarcreate", function( e, ui ) {
var uuid = $(e.target).data("mobileFilterbar").uuid,
......
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