Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
e5eb213e
Commit
e5eb213e
authored
Jan 20, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_svg_editor: fix black svg rendering issue in method-draw
parent
4f7f823b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/method-draw.gadget.js.xml
...ins/erp5_svg_editor/method-draw/method-draw.gadget.js.xml
+12
-3
No files found.
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/method-draw.gadget.js.xml
View file @
e5eb213e
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts53
195793.9
</string>
</value>
<value>
<string>
ts53
291754.85
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -23,13 +23,22 @@
...
@@ -23,13 +23,22 @@
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*jslint indent: 2 */\n
/*jslint indent: 2 */\n
/*global window, rJS, RSVP, svgCanvas */\n
/*global window, rJS, RSVP,
curConfig,
svgCanvas */\n
(function (window, rJS, RSVP) {\n
(function (window, rJS, RSVP) {\n
"use strict";\n
"use strict";\n
\n
curConfig.jGraduatePath = "lib/jgraduate/images/"; // XXX images are not loaded at the good place\n
\n
\n
rJS(window)\n
rJS(window)\n
.ready(function (g) {\n
.ready(function (g) {\n
g.props = {};\n
g.props = {};\n
[].forEach.call(window.document.head.querySelectorAll("base"), function (el) {\n
// XXX GadgetField adds <base>
tag to fit to the parent page location, it\'s BAD to remove them.\n
// In the case of method-draw, all component are loaded dynamicaly through ajax requests in\n
// method-draw "folder". By setting a
<base>
tag, we change the url resolution behavior, and\n
// we break all dynamic links. So, deleting
<base>
is required.\n
window.document.head.removeChild(el);\n
});\n
var deferred = RSVP.defer();\n
var deferred = RSVP.defer();\n
svgCanvas.ready(function () {\n
svgCanvas.ready(function () {\n
deferred.resolve();\n
deferred.resolve();\n
...
@@ -62,7 +71,7 @@
...
@@ -62,7 +71,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
840
</int>
</value>
<value>
<int>
1483
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
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