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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
b371063d
Commit
b371063d
authored
May 18, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f GE
parent
7f548eab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
...rtal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
+2
-2
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
+13
-4
No files found.
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
View file @
b371063d
...
...
@@ -112,8 +112,8 @@ class_definition = {\n
\'type\': \'object\',\n
\'description\': \'An ERP5 Business Link\',\n
\'properties\': {\n
\'name\': {\'type\': \'string\', \'name\':
translateString(\'Name\'
)},\n
\'trade_phase\': {\'type\': \'string\', \'name\':
translateString(\'Trade Phase\'
), \'enum\': [\'\'] + [\n
\'name\': {\'type\': \'string\', \'name\':
str(translateString(\'Name\')
)},\n
\'trade_phase\': {\'type\': \'string\', \'name\':
str(translateString(\'Trade Phase\')
), \'enum\': [\'\'] + [\n
trade_phase.getId() for trade_phase in portal.portal_categories.trade_phase.getCategoryChildValueList(local_sort_on=(\'int_index\', \'title\'))]}, \n
}\n
}\n
...
...
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.xml
View file @
b371063d
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts31
683597.7
</string>
</value>
<value>
<string>
ts31
914157.58
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -729,7 +729,6 @@
this.props.erp5_key =
data.key;\n
data =
data.value;\n
}\n
//
XXX
to
be
sure:(\n
jsplumb_instance =
this.props.jsplumb_instance
=
jsPlumb.getInstance();\n
\n
this.props.main =
this.props.element.querySelector(".graph_container");\n
...
...
@@ -741,7 +740,6 @@
});\n
*/\n
\n
this.props.main =
this.props.element.querySelector(".graph_container");\n
jsplumb_instance.setRenderMode(jsplumb_instance.SVG);\n
jsplumb_instance.importDefaults({\n
HoverPaintStyle:
{\n
...
...
@@ -790,7 +788,18 @@
})\n
.declareService(function()
{\n
var
gadget =
this;\n
this.props.main =
this.props.element.querySelector(".graph_container");\n
this.props.jsplumb_instance =
jsPlumb.getInstance();\n
if
(this.props.data)
{\n
//
load
the
data\n
$.each(this.props.data.graph.node,
function(key,
value)
{\n
addNode(gadget,
key,
value);\n
});\n
$.each(this.props.data.graph.edge,
function(key,
value)
{\n
addEdge(gadget,
key,
value);\n
});\n
}\n
\n
this.props.nodes_click_monitor =
RSVP.Monitor();\n
return
RSVP.all([waitForDrop(gadget),\n
waitForConnection(gadget),\n
...
...
@@ -810,7 +819,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
29
161
</int>
</value>
<value>
<int>
29
429
</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