adding $() wrappers around native nodes to please IE

fixes #18653
pull/6827/head
Gregor Schmidt 14 years ago
parent 4c1a56a133
commit 32c70d19ab
  1. 4
      assets/javascripts/reporting/group_bys.js

@ -12,7 +12,7 @@ Reporting.GroupBys = {
axis = "rows";
}
var selected_container = btn.form.select("#group_by_" + axis)[0];
var selected_container = $(btn.form).select("#group_by_" + axis)[0];
var group_by_container = btn.form.group_by_container;
var source_container, target_container;
@ -31,7 +31,7 @@ Reporting.GroupBys = {
attach_sort_button: function (direction, axis) {
var btn = $$(".buttons.group_by.sort.sort" + direction + ".sort-" + axis)[0];
var box = btn.form.select("#group_by_" + axis)[0];
var box = $(btn.form).select("#group_by_" + axis)[0];
btn.observe("click", function () {
if (direction === "Up") {
moveOptionUp(box);

Loading…
Cancel
Save