Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
a1a3369e
Commit
a1a3369e
authored
Nov 15, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: deeplink handler test
parent
adb277fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
js/erp5_loader.js
js/erp5_loader.js
+6
-4
No files found.
js/erp5_loader.js
View file @
a1a3369e
...
@@ -3040,7 +3040,6 @@
...
@@ -3040,7 +3040,6 @@
* @return {object} object including baggage and reply
* @return {object} object including baggage and reply
*/
*/
util
.
getFromDisk
=
function
(
parcel
)
{
util
.
getFromDisk
=
function
(
parcel
)
{
console
.
log
(
"
GETTING FROM DISK
"
)
var
response
,
var
response
,
put
=
function
(
e
)
{
put
=
function
(
e
)
{
response
=
util
.
parseIfNeeded
(
e
.
target
.
responseText
);
response
=
util
.
parseIfNeeded
(
e
.
target
.
responseText
);
...
@@ -3857,15 +3856,15 @@
...
@@ -3857,15 +3856,15 @@
if
(
document
.
getElementById
(
raw_url
.
split
(
"
#
"
).
pop
())
||
if
(
document
.
getElementById
(
raw_url
.
split
(
"
#
"
).
pop
())
||
raw_url
===
$
.
mobile
.
getDocumentUrl
()
||
raw_url
===
$
.
mobile
.
getDocumentUrl
()
||
data
.
options
.
role
===
"
popup
"
)
{
data
.
options
.
role
===
"
popup
"
)
{
//
console.log("let JQM go")
console
.
log
(
"
let JQM go
"
)
return
;
return
;
}
}
if
(
document
.
getElementById
(
config
.
id
))
{
if
(
document
.
getElementById
(
config
.
id
))
{
//
console.log("stop JQM")
console
.
log
(
"
stop JQM
"
)
e
.
preventDefault
();
e
.
preventDefault
();
return
;
return
;
}
}
//
console.log("HIJACK and stop JQM")
console
.
log
(
"
HIJACK and stop JQM
"
)
handle
=
true
;
handle
=
true
;
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -3887,6 +3886,8 @@
...
@@ -3887,6 +3886,8 @@
}
}
}
}
if
(
e
===
undefined
||
handle
)
{
if
(
e
===
undefined
||
handle
)
{
console
.
log
(
"
Do something
"
)
console
.
log
(
config
.
deeplink
)
if
(
config
.
deeplink
)
{
if
(
config
.
deeplink
)
{
create
=
true
;
create
=
true
;
}
}
...
@@ -4446,6 +4447,7 @@
...
@@ -4446,6 +4447,7 @@
// generate dynamic pages
// generate dynamic pages
.
on
(
"
pagebeforechange
"
,
function
(
e
,
data
)
{
.
on
(
"
pagebeforechange
"
,
function
(
e
,
data
)
{
console
.
log
(
"
pbc
"
)
init
.
parsePage
(
e
,
data
);
init
.
parsePage
(
e
,
data
);
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment