Skip to content

Commit

Permalink
small fix: Changed selector in table demo.js cause of id to class cha…
Browse files Browse the repository at this point in the history
…nge in html
  • Loading branch information
fnagel committed Nov 18, 2009
1 parent 468bf33 commit aeb4ae2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Table/js/demo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function demoControl() {
var widget = $("table");
var headers = widget.ariaSorTable("option", "headers");
var colsToHide = widget.ariaSorTable("option", "colsToHide");
var colsToHide = widget.ariaSorTable("option", "colsToHide");
var html = '<div id="ui-table-control">';
html += ' <fieldset class="ui-widget-content ui-corner-all">';
html += ' <legend class="ui-widget-header ui-corner-all">Row Control</legend>';
Expand Down Expand Up @@ -54,7 +54,7 @@ function demoControl() {
for (var x = 0; x < checkboxes.length; x++) {
var test = ($(checkboxes[x]).filter(':checked').length) ? false : true;
colsToHide[x] = test;
}
}
widget.ariaSorTable('updateData');
widget.ariaSorTable('setHTML');
});
Expand Down Expand Up @@ -93,7 +93,7 @@ function demoControl() {
widget.ariaSorTable("option", "rowsToShow", tableData.length);
widget.ariaSorTable("option", "rowToStart", 1);
widget.ariaSorTable('setHTML');
$("#ui-table-pager").fadeOut();
$(".ui-table-pager").fadeOut();
$("#ui-table-control #colSelect").parent().fadeOut();

});
Expand Down

0 comments on commit aeb4ae2

Please sign in to comment.