Commit a1a3369e authored by Sven Franck's avatar Sven Franck

Bugfix: deeplink handler test

parent adb277fc
......@@ -3040,7 +3040,6 @@
* @return {object} object including baggage and reply
*/
util.getFromDisk = function (parcel) {
console.log("GETTING FROM DISK")
var response,
put = function (e) {
response = util.parseIfNeeded(e.target.responseText);
......@@ -3857,15 +3856,15 @@
if (document.getElementById(raw_url.split("#").pop()) ||
raw_url === $.mobile.getDocumentUrl() ||
data.options.role === "popup") {
// console.log("let JQM go")
console.log("let JQM go")
return;
}
if (document.getElementById(config.id)) {
// console.log("stop JQM")
console.log("stop JQM")
e.preventDefault();
return;
}
// console.log("HIJACK and stop JQM")
console.log("HIJACK and stop JQM")
handle = true;
e.preventDefault();
......@@ -3887,6 +3886,8 @@
}
}
if (e === undefined || handle) {
console.log("Do something")
console.log(config.deeplink)
if (config.deeplink) {
create = true;
}
......@@ -4446,6 +4447,7 @@
// generate dynamic pages
.on("pagebeforechange", function (e, data) {
console.log("pbc")
init.parsePage(e, data);
})
......
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