var el = this;
var type = el.dom.className.split(' ')[1].split('-').pop();
// fixme???
- var inner = Roo.select('.report-pulldowns select[name="' + type + '_id"]').first().dom.cloneNode(true);
+ var inner = Roo.get(Roo.select('.report-pulldowns select[name="' + type + '_id"]').first().dom.cloneNode(true));
var ar = [];
- Roo.get(inner).select('option').each(function() { ar[this.dom.innerHTML] = this.dom.value; } );
+ inner.select('option').each(function() { ar[this.dom.innerHTML] = this.dom.value; } );
var cval = el.dom.innerHTML;
inner.dom.value = typeof(ar[cval]) == 'undefined' ? '' : ar[cval];