mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
refactored code to use newer version of backbone.js and underscore.js
This commit is contained in:
@@ -24,10 +24,10 @@ define([
|
||||
"click .btn-cancel-field": "toggleCreateFormAction",
|
||||
"keyup input": "onKeyupInput"
|
||||
},
|
||||
template: _.template($("#create_template").html()),
|
||||
render: function () {
|
||||
var template = _.template($("#create_template").html());
|
||||
|
||||
this.$el.html(template);
|
||||
this.$el.html(this.template());
|
||||
|
||||
$("#new-source", this.$el).autocomplete({
|
||||
minLength: 2,
|
||||
|
Reference in New Issue
Block a user