From 9495059fdc0dfafbf99c06360d0d2ba9da8ed12b Mon Sep 17 00:00:00 2001 From: Vasyl Nakvasiuk Date: Mon, 15 Apr 2013 10:27:31 +0300 Subject: [PATCH] add "get_state" dispatch for WordCloud --- common/lib/xmodule/xmodule/word_cloud_module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/lib/xmodule/xmodule/word_cloud_module.py b/common/lib/xmodule/xmodule/word_cloud_module.py index 896c85fa04..972d854ccb 100644 --- a/common/lib/xmodule/xmodule/word_cloud_module.py +++ b/common/lib/xmodule/xmodule/word_cloud_module.py @@ -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({