Commit 87fecb2f authored by Sven Franck's avatar Sven Franck

JQM: add allowSamePageTransition option

parent 56c2b3a7
......@@ -5,7 +5,7 @@
<title>Topseller Module</title>
</head>
<body>
<div data-role="fieldcontain" class="items_wrap">
<div class="items_wrap ui-field-contain">
<h3 class="translate items_title" data-i18n=""></h3>
<ul data-role="listview" data-inset="true" class="items_listview">
<!-- items -->
......
......@@ -120,8 +120,8 @@ define([
// TODO: this is for page event bindings. Once JQM content replaces
// page, remove this and make the gadget the content section to
// be updated.
spec.page = priv.closest(spec.gadget.dom[0], "div[data-role='page']");
spec.pageId = "#" + spec.page.attr('id');
spec.page = priv.closest(spec.gadget.dom.get(0), "div[data-role='page']");
spec.pageId = "#" + spec.page.id;
spec.source = source;
spec.callback_mockup = callback_mockup;
......
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