{
// if we do not have a selected type... - what should we show..?
- var et = _this.etypeCombo.getValue();
+ var et = _this.data.etype;
var ds = _this.grid.getDataSource();
if (!et) {
Roo.MessageBox.alert("Error", "Select a pulldown");
xns: Roo
},
buttons : [
+ {
+ xtype: 'Button',
+ xns: Roo,
+ listeners : {
+ click : function (_self, e)
+ {
+ _this.dialog.hide();
+ }
+ },
+ text : "Cancel"
+ },
{
xtype: 'Button',
xns: Roo,