mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 15:32:31 +01:00
Unbroke backgrid template cell
This commit is contained in:
parent
5bfd9e3329
commit
af2da6380b
@ -7,7 +7,7 @@ Backgrid.TemplateBackedCell = Backgrid.Cell.extend({
|
|||||||
render: function () {
|
render: function () {
|
||||||
var data = this.model.toJSON();
|
var data = this.model.toJSON();
|
||||||
var templateFunction = Marionette.TemplateCache.get(this.template);
|
var templateFunction = Marionette.TemplateCache.get(this.template);
|
||||||
var html = new Handlebars.SafeString(templateFunction(data));
|
var html = templateFunction(data);
|
||||||
this.$el.html(html);
|
this.$el.html(html);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user