client/js/list-bin.js
changeset 647 eaaa1efce396
parent 433 e457ec945e50
--- a/client/js/list-bin.js	Tue Oct 04 16:40:25 2016 +0200
+++ b/client/js/list-bin.js	Thu Jan 05 16:26:07 2017 +0100
@@ -2,10 +2,9 @@
 
 Rkns.ResourceList.Bin = Rkns.Utils.inherit(Rkns._BaseBin);
 
-Rkns.ResourceList.Bin.prototype.resultTemplate = renkanJST['templates/list-bin.html'];
-
 Rkns.ResourceList.Bin.prototype._init = function(_renkan, _opts) {
     this.renkan = _renkan;
+    this.resultTemplate = _renkan.options.templates['templates/list-bin.html'];
     this.title_$.html(_opts.title);
     if (_opts.list) {
         this.data = _opts.list;