'<dd ext:url="{url}"><img src="shared/screens/{icon}"/>',
'<div><h4>{text}',
'<tpl if="this.isNew(values.status)">',
'<dd ext:url="{url}"><img src="shared/screens/{icon}"/>',
'<div><h4>{text}',
'<tpl if="this.isNew(values.status)">',
onContainerClick: function(e) {
var group = e.getTarget('h2', 3, true);
onContainerClick: function(e) {
var group = e.getTarget('h2', 3, true);
onItemClick : function(record, item, index, e){
var t = e.getTarget('dd', 5, true);
onItemClick : function(record, item, index, e){
var t = e.getTarget('dd', 5, true);
if (t && !e.getTarget('a', 2)) {
var url = t.getAttributeNS('ext', 'url');
window.open(url);
}
if (t && !e.getTarget('a', 2)) {
var url = t.getAttributeNS('ext', 'url');
window.open(url);
}
- fields : ['id', 'title', 'samples'],
+ fields : ['id', 'title', 'items'],