if (!s || s.length != 1) {
Roo.MessageBox.alert("Error", "Select a single image to edit");
return;
}
var data = _this.grid.getDataSource().getById(s[0].data.id).data;
if (!s || s.length != 1) {
Roo.MessageBox.alert("Error", "Select a single image to edit");
return;
}
var data = _this.grid.getDataSource().getById(s[0].data.id).data;