Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Imène Lajili
clowdflows
Commits
3fdab3c5
Commit
3fdab3c5
authored
May 11, 2015
by
Janez
Browse files
Merge branch 'interactvisualize' of /home/git/repositories/kt/mothra
parents
331c90dd
3f19866f
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/views.py
View file @
3fdab3c5
...
...
@@ -1315,7 +1315,10 @@ def finish_interaction(request):
w
.
interaction_waiting
=
False
w
.
save
()
mimetype
=
'application/javascript'
data
=
simplejson
.
dumps
({
'status'
:
'ok'
,
'message'
:
'Widget '
+
w
.
name
+
' executed successfully.'
,
'widget_id'
:
w
.
id
})
if
w
.
abstract_widget
.
visualization_view
!=
''
:
data
=
simplejson
.
dumps
({
'status'
:
'visualize'
,
'message'
:
'Visualizing widget '
+
w
.
name
+
'.'
,
'widget_id'
:
w
.
id
})
else
:
data
=
simplejson
.
dumps
({
'status'
:
'ok'
,
'message'
:
'Widget '
+
w
.
name
+
' executed successfully.'
,
'widget_id'
:
w
.
id
})
except
Exception
,
e
:
mimetype
=
'application/javascript'
w
.
error
=
True
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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