Skip to content

Commit

Permalink
Updated distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Jones committed Apr 21, 2015
1 parent 1eae4d3 commit 36131d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/tc-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

if (colField) {
sortFn = " ng-click=\"vm.sort('" + colField + "')\"";
headerId = " id=\"" + attrs.tcGridOptions + "_" + colField.replace(/\./g, "") + "\"";
headerId = " id=\"" + attrs.tcOptions + "_" + colField.replace(/\./g, "") + "\"";
attrs.columns.push(colField);

if (el.html() === "") {
Expand All @@ -51,7 +51,7 @@
});

var templateHtml = $templateCache.get("tcGrid.html");
templateHtml = templateHtml.replace(/%OPTIONS%/g, attrs.tcGridOptions);
templateHtml = templateHtml.replace(/%OPTIONS%/g, attrs.tcOptions);
templateHtml = templateHtml.replace(/%HEADER%/g, headerHtml);
templateHtml = templateHtml.replace(/%DATA%/g, attrs.tcData);
templateHtml = templateHtml.replace(/%GRIDCLASS%/g, attrs.tcGridClass || "tc-grid");
Expand Down Expand Up @@ -224,7 +224,7 @@
}

function fetchColumn(name) {
var id = $attrs.tcGridOptions + "_" + name.replace(/\./g, "");
var id = $attrs.tcOptions + "_" + name.replace(/\./g, "");
return angular.element(document.getElementById(id));
}

Expand Down

0 comments on commit 36131d7

Please sign in to comment.