--- a/client/js/main.js Fri Apr 24 13:13:24 2015 +0200
+++ b/client/js/main.js Fri Apr 24 18:01:02 2015 +0200
@@ -139,7 +139,7 @@
});
this.colorPicker = (function() {
- var _tmpl = _.template('<li data-color="<%=c%>" style="background: <%=c%>"></li>');
+ var _tmpl = renkanJST['templates/colorpicker.html'];
return '<ul class="Rk-Edit-ColorPicker">' + Rkns.pickerColors.map(function(c) { return _tmpl({c:c});}).join("") + '</ul>';
})();
@@ -150,7 +150,7 @@
if (!this.options.search.length) {
this.$.find(".Rk-Web-Search-Form").detach();
} else {
- var _tmpl = _.template('<li class="<%= className %>" data-key="<%= key %>"><%= title %></li>'),
+ var _tmpl = renkanJST['templates/search.html'],
_select = this.$.find(".Rk-Search-List"),
_input = this.$.find(".Rk-Web-Search-Input"),
_form = this.$.find(".Rk-Web-Search-Form");