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
Carlos Ramos Carreño
erp5
Commits
85e58599
Commit
85e58599
authored
Dec 05, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jump to business link when double clicking the link
BUG Jsplumb silently swallows exceptions on handlers
parent
24895d97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
...rtal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
+1
-1
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/jsplumb/jsplumb.js.xml
...tem/portal_skins/erp5_graph_editor/jsplumb/jsplumb.js.xml
+5
-6
No files found.
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/BusinessProcess_getGraph.xml
View file @
85e58599
...
...
@@ -96,7 +96,7 @@ def getBusinessProcessGraph(business_process):\n
source=predecessor,\n
destination=successor,\n
name=link.getTranslatedTitle(),\n
business_
process_relative_url=context
.getRelativeUrl(),\n
business_
link_url=link
.getRelativeUrl(),\n
trade_phase=link.getTradePhase())\n
\n
for specialise in [context] + business_process.getSpecialiseValueList(portal_type=\'Business Process\'):\n
...
...
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/jsplumb/jsplumb.js.xml
View file @
85e58599
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts177
59117.85
</string>
</value>
<value>
<string>
ts177
64628.88
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -149,10 +149,9 @@
}\n
function waitForConnectionClick(gadget) {\n
// TODO: dialog to edit connection properties\n
loopJsplumbBind(gadget, "click", function(connection) {\n
if (confirm("Delete connection ?")) {\n
gadget.props.jsplumb_instance.detach(connection);\n
}\n
// XXX error in this function are silently ignored !!!\n
loopJsplumbBind(gadget, "dblclick", function(connection) {\n
return window.location.replace(gadget.props.data.graph.edge[connection.id].business_link_url);\n
});\n
}\n
function convertToAbsolutePosition(gadget, x, y) {\n
...
...
@@ -598,7 +597,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
254
4
3
</int>
</value>
<value>
<int>
254
8
3
</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