client/js/renderer/nodeeditor.js
changeset 450 88e8673aaeeb
parent 447 e246651b6626
child 461 48235ed6b07d
equal deleted inserted replaced
449:aae670254c49 450:88e8673aaeeb
    10 
    10 
    11     _(NodeEditor.prototype).extend({
    11     _(NodeEditor.prototype).extend({
    12         _init: function() {
    12         _init: function() {
    13             BaseEditor.prototype._init.apply(this);
    13             BaseEditor.prototype._init.apply(this);
    14             this.template = this.options.templates['templates/nodeeditor.html'];
    14             this.template = this.options.templates['templates/nodeeditor.html'];
       
    15             //this.templates['default']= this.options.templates['templates/nodeeditor.html'];
       
    16             //fusionner avec this.options.node_editor_templates
    15             this.readOnlyTemplate = this.options.templates['templates/nodeeditor_readonly.html'];
    17             this.readOnlyTemplate = this.options.templates['templates/nodeeditor_readonly.html'];
    16         },
    18         },
    17         draw: function() {
    19         draw: function() {
    18             var _model = this.source_representation.model,
    20             var _model = this.source_representation.model,
    19             _created_by = _model.get("created_by") || Utils._USER_PLACEHOLDER(this.renkan),
    21             _created_by = _model.get("created_by") || Utils._USER_PLACEHOLDER(this.renkan),