add "get_state" dispatch for WordCloud
This commit is contained in:
@@ -132,6 +132,8 @@ class WordCloudModule(WordCloudFields, XModule):
|
||||
# Save all_words in database.
|
||||
self.all_words = temp_all_words
|
||||
|
||||
return self.get_state()
|
||||
if dispatch == 'get_state':
|
||||
return self.get_state()
|
||||
else:
|
||||
return json.dumps({
|
||||
|
||||
Reference in New Issue
Block a user