},
rowdblclick : function (_self, rowIndex, e)
{
- if (!_this.dialog) return;
+ if (!_this.dialog) {
+ return;
+ }
_this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
_this.grid.footer.onClick('first');
});
listeners : {
click : function()
{
- if (!_this.dialog) return;
+ if (!_this.dialog) {
+ return;
+ }
_this.dialog.show( { id : 0 } , function() {
_this.grid.footer.onClick('first');
});
Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
return;
}
- if (!_this.dialog) return;
+ if (!_this.dialog) {
+ return;
+ }
_this.dialog.show(s[0].data, function() {
_this.grid.footer.onClick('first');
});