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
bc901d2e
Commit
bc901d2e
authored
May 15, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data/app: replace false image paths in externally loaded content
parent
eed11bcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
data/global.json
data/global.json
+1
-8
js/erp5_loader.js
js/erp5_loader.js
+4
-2
No files found.
data/global.json
View file @
bc901d2e
...
...
@@ -213,7 +213,7 @@
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#"
,
"center"
:
[{
"type"
:
"h3"
,
"text_i18n"
:
"global_dict.where-we-are"
}]},
{
"type"
:
"item"
,
"href"
:
"#"
,
"center"
:
[{
"type"
:
"h3"
,
"text_i18n"
:
"global_dict.our-partners"
}]}
{
"type"
:
"item"
,
"href"
:
"#
subscription/external
"
,
"center"
:
[{
"type"
:
"h3"
,
"text_i18n"
:
"global_dict.our-partners"
}]}
]
}
]
...
...
@@ -297,13 +297,6 @@
]
}
]
},
{
"type"
:
"a"
,
"direct"
:
{
"className"
:
"ui-btn ui-btn-inline ui-shadow ui-btn-icon-right translate center ui-icon-carat-r"
,
"href"
:
"#subscription/external"
},
"attributes"
:
{
"data-i18n"
:
"global_dict.load_more"
}
}
]
},
...
...
js/erp5_loader.js
View file @
bc901d2e
...
...
@@ -6061,13 +6061,15 @@
pass
.
skip
=
!
pass
.
url_dict
.
href
&&
!
pass
.
content_dict
.
portal_type_source
;
pass
.
no_config
=
pass
.
skip
||
!!
pass
.
content_dict
.
portal_type_source
;
// HACK
for Thierry
// HACK
Thierryfic hack
if
(
is_html
)
{
return
util
.
ajax
(
{
"
url
"
:
"
data/
"
+
pass
.
url_dict
.
href
}
).
then
(
function
(
e
)
{
// Don't look...
var
i
,
len
,
fragment
,
response
=
$
.
parseHTML
(
e
.
target
.
response
);
var
i
,
len
,
fragment
,
response
=
$
.
parseHTML
(
e
.
target
.
response
.
replace
(
"
/erp5/
"
,
"
/
"
,
"
g
"
)
);
fragment
=
document
.
createDocumentFragment
();
for
(
i
=
0
,
len
=
response
.
length
;
i
<
len
;
i
+=
1
)
{
...
...
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