From efea4f53e0ad08c5b0fe72c4cf500774d7aa1b69 Mon Sep 17 00:00:00 2001 From: Alexander Kryklia Date: Thu, 20 Dec 2012 13:30:34 +0200 Subject: [PATCH] bugfix --- common/lib/xmodule/xmodule/gst_module.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/gst_module.py b/common/lib/xmodule/xmodule/gst_module.py index 34ecd66872..134d2b1ffa 100644 --- a/common/lib/xmodule/xmodule/gst_module.py +++ b/common/lib/xmodule/xmodule/gst_module.py @@ -55,14 +55,15 @@ class GraphicalSliderToolModule(XModule): def get_html(self): """ Renders parameters to template. """ - # these both will be used in class methods + # these 3 will be used in class methods self.html_id = self.location.html_id() self.html_class = self.location.category + self.configuration_json = self.build_configuration_json() params = { 'gst_html': self.substitute_controls(self.definition['render']), 'element_id': self.html_id, 'element_class': self.html_class, - 'configuration_json': self.build_configuration_json() + 'configuration_json': self.configuration_json } self.content = (self.system.render_template( 'graphical_slider_tool.html', params))