From b457bc6f4af900261e0bf2ce08d18b3faada8ed5 Mon Sep 17 00:00:00 2001 From: Valera Rozuvan Date: Tue, 18 Dec 2012 13:58:06 +0200 Subject: [PATCH] Fixed input bug. Now if they are nested within DIVs, they are also included. --- .../lib/xmodule/xmodule/js/src/graphical_slider_tool/inputs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/js/src/graphical_slider_tool/inputs.js b/common/lib/xmodule/xmodule/js/src/graphical_slider_tool/inputs.js index 7ec132b370..e48174ddb5 100644 --- a/common/lib/xmodule/xmodule/js/src/graphical_slider_tool/inputs.js +++ b/common/lib/xmodule/xmodule/js/src/graphical_slider_tool/inputs.js @@ -11,7 +11,7 @@ define('Inputs', ['logme'], function (logme) { allParamNames = state.getAllParameterNames(); for (c1 = 0; c1 < allParamNames.length; c1 += 1) { - $('#' + gstId).children('.' + gstClass + '_input').each(function (index, value) { + $('#' + gstId).find('.' + gstClass + '_input').each(function (index, value) { var inputDiv, paramName; paramName = allParamNames[c1];