if (data.records.length === 1 && this.dndAllowed(data.records[0].data) && !this.inherited) { return Ext.dd.DropZone.prototype.dropAllowed; } else { return Ext.dd.DropZone.prototype.dropNotAllowed; }