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
Lidia Contreras Ochando
clowdflows
Commits
3f19866f
Commit
3f19866f
authored
May 11, 2015
by
Janez K
Browse files
visualization of interactive widgets
parent
331c90dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/views.py
View file @
3f19866f
...
...
@@ -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