[pbs-devel] [PATCH proxmox-backup 1/5] ui: tape/DriveStatus: fix handler name for eject

Dominik Csapak d.csapak at proxmox.com
Wed Mar 3 15:00:49 CET 2021


We call 'ejectMedia' not 'eject', so rename the function.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/DriveStatus.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/tape/DriveStatus.js b/www/tape/DriveStatus.js
index f39ee88e..c064ecc5 100644
--- a/www/tape/DriveStatus.js
+++ b/www/tape/DriveStatus.js
@@ -74,7 +74,7 @@ Ext.define('PBS.TapeManagement.DriveStatus', {
 	    }).show();
 	},
 
-	eject: function() {
+	ejectMedia: function() {
 	    let me = this;
 	    let view = me.getView();
 	    let driveid = view.drive;
-- 
2.20.1






More information about the pbs-devel mailing list