});
},
- 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');
}
});