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
Xueyun Qian
erp5
Commits
f7d08891
Commit
f7d08891
authored
Jun 11, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graph_editor: fix error message for edges with unknown destinations
parent
5b0da624
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.xml
...p5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.xml
+5
-5
No files found.
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.xml
View file @
f7d08891
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts3
1928462.63
</string>
</value>
<value>
<string>
ts3
3995381.39
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -325,10 +325,10 @@
];\n
}\n
if (gadget.props.data.graph.node[edge_data.source] === undefined) {\n
throw new Error("E
dge
Source " + edge_data.source + " does not exist");\n
throw new Error("E
rror adding edge " + edge_id + "
Source " + edge_data.source + " does not exist");\n
}\n
if (gadget.props.data.graph.node[edge_data.
source
] === undefined) {\n
throw new Error("Edge
Destination " + edge_data.source
+ " does not exist");\n
if (gadget.props.data.graph.node[edge_data.
destination
] === undefined) {\n
throw new Error("Edge
adding edge " + edge_id + " Destination " + edge_data.destination
+ " does not exist");\n
}\n
// If an edge has this data:\n
// { _class: \'Edge\',\n
...
...
@@ -821,7 +821,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
29
366
</int>
</value>
<value>
<int>
29
435
</int>
</value>
</item>
<item>
<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