FSN#46507 back button op de iOS -app gefixed voor niet gehashde pagina's
svn path=/Website/branches/v2017.2/; revision=36298
This commit is contained in:
@@ -67,25 +67,7 @@ function HEADER(params)
|
||||
<div class="ui-btn-left">
|
||||
<%
|
||||
if (params.back) {
|
||||
%>
|
||||
<script>
|
||||
function goBack() {
|
||||
|
||||
var nav = window.navigator;
|
||||
if (this.phonegapNavigationEnabled &&
|
||||
nav &&
|
||||
nav.app &&
|
||||
nav.app.backHistory)
|
||||
{
|
||||
nav.app.backHistory();
|
||||
}
|
||||
else
|
||||
window.history.back(1);
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<a onclick="goBack()" data-role="button" data-icon="back" data-iconpos="<%=jQButtonIconpos%>" data-direction="reverse"><%=L("lcl_back")%></a><%
|
||||
%><a data-rel="back" data-role="button" data-icon="back" data-iconpos="<%=jQButtonIconpos%>"><%=L("lcl_back")%></a><%
|
||||
}
|
||||
if (params.search) {
|
||||
%><a href="productsearch.asp" data-role="button" data-icon="search" data-iconpos="<%=jQButtonIconpos%>" data-direction="reverse"><%=L("lcl_search")%></a><%
|
||||
|
||||
@@ -14,13 +14,13 @@ $(document).bind("mobileinit", function() {
|
||||
// to convert the hash-based Ajax URL into the full document path.
|
||||
// Note that we recommend disabling this feature if Ajax is disabled
|
||||
// or if extensive use of external links are used.
|
||||
// $.mobile.pushStateEnabled = false;
|
||||
|
||||
$.mobile.ajaxEnabled = false;
|
||||
$.mobile.pushStateEnabled = false;
|
||||
// $.mobile.ajaxEnabled = false;
|
||||
|
||||
if (window.FcltMgr)
|
||||
FcltMgr.fixActiveelementError();
|
||||
});
|
||||
|
||||
$(document).bind("pageinit", function(){
|
||||
$("i.dateklikker,i.timeklikker").each(function() {
|
||||
$(this).appendTo($(this).prev());
|
||||
|
||||
Reference in New Issue
Block a user