From d12c4ccf5802def359293990acca84a760fcaeb7 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Fri, 4 May 2018 13:00:03 +0200 Subject: [PATCH] F #1910: Allow to resize a disk in the cloud view (#2054) --- src/sunstone/public/app/tabs/vms-tab/panels/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sunstone/public/app/tabs/vms-tab/panels/storage.js b/src/sunstone/public/app/tabs/vms-tab/panels/storage.js index c21c31a78d..4098cab2ea 100644 --- a/src/sunstone/public/app/tabs/vms-tab/panels/storage.js +++ b/src/sunstone/public/app/tabs/vms-tab/panels/storage.js @@ -602,7 +602,7 @@ define(function(require) { return false; }); } - if (Config.isTabActionEnabled("vms-tab", "VM.resize")) { + if (Config.isTabActionEnabled("vms-tab", "VM.disk_resize")) { context.off('click', '.disk_resize'); context.on('click', '.disk_resize', function() { var disk_id = $(this).parents('tr').attr('disk_id'); @@ -629,7 +629,7 @@ define(function(require) { return false; }); } - + Tree.setup(context); }