Commit 9495059f by Vasyl Nakvasiuk

add "get_state" dispatch for WordCloud

parent b4be6a9b
......@@ -133,6 +133,8 @@ class WordCloudModule(WordCloudFields, XModule):
self.all_words = temp_all_words
return self.get_state()
if dispatch == 'get_state':
return self.get_state()
else:
return json.dumps({
'status': 'fail',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment