Commit 07da2717 by Carlos Andrés Rocha

Merge pull request #1022 from MITx/ie8patch

revert to using getElementsByClassName in .dialog b/c jQuery was
parents a544175b ce623bcf
...@@ -3723,7 +3723,7 @@ schematic = (function() { ...@@ -3723,7 +3723,7 @@ schematic = (function() {
// look for property input fields in the content and give // look for property input fields in the content and give
// them a keypress listener that interprets ENTER as // them a keypress listener that interprets ENTER as
// clicking OK. // clicking OK.
var plist = content.$('.property'); var plist = content.getElementsByClassName('property');
for (var i = plist.length - 1; i >= 0; --i) { for (var i = plist.length - 1; i >= 0; --i) {
var field = plist[i]; var field = plist[i];
field.dialog = dialog; // help event handler find us... field.dialog = dialog; // help event handler find us...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment