diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index 5a1c6073..05ca8892 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -518,7 +518,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { control: { 'grid[reference=drives]': { cellclick: function(table, td, ci, rec, tr, ri, e) { - if (!e.position.column.dataIndex === 'state') { + if (e.position.column.dataIndex !== 'state') { return; }