});
},
- putXMLPart: function(elem, data) {
+ putXMLPart: function(elem, data, callback) {
var self = this;
var path = elem.attr('x-pointer');
// format: 'nl'
},
success: function(htmldata) {
- elem.html(htmldata);
+ callback(elem, htmldata);
self.set('state', 'dirty');
}
});
revision: this.get('revision'),
user: this.get('user')
},
- complete: this.updateCompleted.bind(this),
+ complete: this.updateCompleted.bind(this)
});
},