Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fixing bug in datatables
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrall committed Apr 13, 2010
1 parent da53729 commit a13cf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/funnelcake.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ var DataTable = Class.create(FunnelCakeWidget, {

insertTableData: function(rawdata) {
var thiz = this;
var sortedData = $H(rawdata).values().sortBy(function(e){return e.index});
var sortedData = $H($H(rawdata).values()[0]).values().sortBy(function(e){return e.index});
sortedData.each(function(elem) {
var row = new Element('tr', {'class': 'data'});

Expand Down

0 comments on commit a13cf53

Please sign in to comment.