diff --git a/www/tape/DriveConfig.js b/www/tape/DriveConfig.js index 6ffa2606..a8629e2b 100644 --- a/www/tape/DriveConfig.js +++ b/www/tape/DriveConfig.js @@ -47,7 +47,7 @@ Ext.define('PBS.TapeManagement.DrivePanel', { }); }, - catalog: function(view, rI, cI, button, el, record) { + catalog: function(button, event, record) { let me = this; let drive = record.data.name; PBS.Utils.driveCommand(drive, 'catalog', { @@ -179,6 +179,13 @@ Ext.define('PBS.TapeManagement.DrivePanel', { handler: 'ejectMedia', disabled: true, }, + { + text: gettext('Catalog'), + xtype: 'proxmoxButton', + handler: 'catalog', + iconCls: 'fa fa-book', + disabled: true, + }, ], columns: [ { @@ -246,11 +253,6 @@ Ext.define('PBS.TapeManagement.DrivePanel', { handler: 'readLabel', tooltip: gettext('Read Label'), }, - { - iconCls: 'fa fa-book', - handler: 'catalog', - tooltip: gettext('Catalog'), - }, { iconCls: 'fa fa-info-circle', handler: 'status',