var txt = [];
c = c || {};
var sr = (typeof(c['+buildershow']) != 'undefined') && !c['+buildershow'] ? true : false;
- if (sr) txt.push('<s>');
+ if (sr) {
+ txt.push('<s>');
+ }
if (typeof(c['*prop']) != 'undefined') { txt.push(c['*prop']+ ':'); }
if (c.xtype) { txt.push(c.xtype); }
if (c.fieldLabel) { txt.push('[' + c.fieldLabel + ']'); }
if (c.name) { txt.push('<b>' + c.name+ '</b>'); }
if (c.region) { txt.push('<i>(' + c.region + ')</i>'); }
if (c.dataIndex) { txt.push('[' + c.dataIndex+ ']'); }
- if (sr) txt.push('</s>');
+ if (sr) {
+ txt.push('</s>');
+ }
return (txt.length == 0 ? "Element" : txt.join(" "));