Webserver: -mod: removed back buttons on discover and login page
This commit is contained in:
1 parent
a1d3e368cc
commit
8c7fdc050f
1 file changed
+7
-7
@@ -9,13 +9,13 @@
|
||||
<script src="phonegap.js"></script>
|
||||
<script>
|
||||
if (document.location.protocol == "file:") {
|
||||
if(typeof (window.deviceAndJqmLoaded) == "undefined"){
|
||||
if (typeof (window.deviceAndJqmLoaded) == "undefined") {
|
||||
window.deviceAndJqmLoaded = $.Deferred();
|
||||
}
|
||||
var jqmready = $.Deferred();
|
||||
var deviceready = $.Deferred();
|
||||
|
||||
$(document).bind("mobileinit", function(){
|
||||
$(document).bind("mobileinit", function () {
|
||||
jqmready.resolve();
|
||||
});
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
document.addEventListener("deviceready", deviceIsReady, false);
|
||||
|
||||
$.when(jqmready, deviceready).then(function(){
|
||||
$.when(jqmready, deviceready).then(function () {
|
||||
window.deviceAndJqmLoaded.resolve();
|
||||
});
|
||||
}
|
||||
@@ -36,8 +36,8 @@
|
||||
<script src="js/i18next-1.7.1.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="discover" data-content-theme="a" data-role="page" data-add-back-btn="true">
|
||||
<body>
|
||||
<div id="discover" data-content-theme="a" data-role="page" data-add-back-btn="false">
|
||||
<div data-role="header">
|
||||
<h1 data-i18n="discoverConnectHeader"></h1>
|
||||
</div>
|
||||
@@ -51,7 +51,7 @@
|
||||
<!-- /content -->
|
||||
</div>
|
||||
<!-- /page -->
|
||||
<div id="login" data-content-theme="a" data-role="page" data-add-back-btn="true">
|
||||
<div id="login" data-content-theme="a" data-role="page" data-add-back-btn="false">
|
||||
<div data-role="header">
|
||||
<h1 data-i18n="">Login</h1>
|
||||
</div>
|
||||
@@ -364,5 +364,5 @@
|
||||
<!-- /page -->
|
||||
|
||||
<div class="ui-loader-background"></div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user