},
rowdblclick : function (_self, rowIndex, e)
{
-
+ _this.dialog.hide();
+
+ if (_this.callback) {
+ _this.callback.call(this, _this.source);
+ }
}
},
autoExpandColumn : 'filename',
if(!bSuccess || !res.success){
_this.viewPanel.setContent("Load data failed?!");
}
+
+ if(typeof(res.data) === 'string'){
+ _this.viewPanel.setContent(res.data);
+ return;
+ }
- Roo.log(res.data);
+ _this.source = res.data.POST.source;
+
+ _this.viewPanel.setContent(_this.source);
});
}
xns: Roo,
listeners : {
click : function() {
+
_this.dialog.hide();
+
+ if (_this.callback) {
+ _this.callback.call(this, _this.source);
+ }
}
},
text : "OK"