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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
2c5c9be5
Commit
2c5c9be5
authored
Jan 15, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_svg_editor: fix save should add history entry
parent
dbe985c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
...m/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
+4
-2
No files found.
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/Base_setSVGTextContent.xml
View file @
2c5c9be5
...
...
@@ -57,9 +57,11 @@ text_content = context.REQUEST.get("text")\n
if text_content is not None:\n
portal_type = context.getPortalType()\n
if portal_type in ("Web Illustration",):\n
context.setTextContent(text_content)\n
getattr(context, "setTextContent")\n
context.edit(text_content=text_content)\n
elif portal_type in ("Image",):\n
context.setData(text_content)\n
getattr(context, "setData")\n
context.edit(data=text_content)\n
</string>
</value>
</item>
<item>
...
...
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