[pbs-devel] [PATCH proxmox-backup] ui: tapeRestore: make window non-resizable

Dominik Csapak d.csapak at proxmox.com
Thu Jul 8 15:42:15 CEST 2021


While it would be nice to be able to resize that window for more
snapshots/datastores in view, this would need quite some reworking on the
input panel side. So for now, disable resizing of that window, otherwise
the grids look weird as they only scale horizontally but not vertically.

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

diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
index 6a172b1e..f99789a3 100644
--- a/www/tape/window/TapeRestore.js
+++ b/www/tape/window/TapeRestore.js
@@ -11,6 +11,7 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
     url: '/api2/extjs/tape/restore',
     method: 'POST',
 
+    resizable: false,
     modal: true,
 
     mediaset: undefined,
-- 
2.30.2






More information about the pbs-devel mailing list