1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

Unbroke backgrid template cell

This commit is contained in:
Mark McDowall 2013-04-30 19:12:32 -07:00
parent 5bfd9e3329
commit af2da6380b

View file

@ -7,7 +7,7 @@ Backgrid.TemplateBackedCell = Backgrid.Cell.extend({
render: function () {
var data = this.model.toJSON();
var templateFunction = Marionette.TemplateCache.get(this.template);
var html = new Handlebars.SafeString(templateFunction(data));
var html = templateFunction(data);
this.$el.html(html);
return this;