Skip to content

Commit

Permalink
Merge pull request #4 from WRidder/master
Browse files Browse the repository at this point in the history
Update backgrid-patch.js
  • Loading branch information
excentris committed Dec 4, 2014
2 parents 14b9e3d + 77eba16 commit 84312d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backgrid-patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ var BackgridHeaderCellRenderMethod = function () {

this.$el.append(label);
this.$el.addClass(column.get("name"));
this.$el.attr('data-columnname', column.get('name'));
this.$el.attr("data-column-cid", column.cid);
this.$el.addClass(column.get("direction"));
if (column.get('attributes')) {
this.$el.attr(column.get('attributes'));
if (column.get("attributes")) {
this.$el.attr(column.get("attributes"));
}
this.delegateEvents();
return this;
Expand Down Expand Up @@ -81,4 +81,4 @@ var BackgridHeaderRenderMethod = function () {
this.trigger("backgrid:header:rendered", this);

return this;
};
};

0 comments on commit 84312d0

Please sign in to comment.