From ce623bcf17754051becfff4db13632610b65d9ec Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Tue, 6 Nov 2012 17:05:44 -0500 Subject: [PATCH] revert to using getElementsByClassName in .dialog b/c jQuery was undefined on the content passed in & whole widget is disabled in ie8. --- common/lib/xmodule/xmodule/js/src/capa/schematic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/js/src/capa/schematic.js b/common/lib/xmodule/xmodule/js/src/capa/schematic.js index e65b0ecad6..b033dbaf46 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/schematic.js +++ b/common/lib/xmodule/xmodule/js/src/capa/schematic.js @@ -3723,7 +3723,7 @@ schematic = (function() { // look for property input fields in the content and give // them a keypress listener that interprets ENTER as // clicking OK. - var plist = content.$('.property'); + var plist = content.getElementsByClassName('property'); for (var i = plist.length - 1; i >= 0; --i) { var field = plist[i]; field.dialog = dialog; // help event handler find us...