From da86175e43dbd5e5abf922a12d1ccfcb5b3df7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 7 Jul 2015 16:22:00 +0200 Subject: [PATCH] Feature #3782: Allow to revert to active disk snapshot in sunstone --- src/sunstone/public/app/tabs/vms-tab/panels/storage.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 410a1fd332..7ee8db539d 100644 --- a/src/sunstone/public/app/tabs/vms-tab/panels/storage.js +++ b/src/sunstone/public/app/tabs/vms-tab/panels/storage.js @@ -423,11 +423,11 @@ define(function(require) { ' + Locale.tr("Save as") + '  '; } - if(!active){ - if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) { - html += '' + Locale.tr("Revert") + '  '; - } + if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) { + html += '' + Locale.tr("Revert") + '  '; + } + if(!active){ if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_delete")) { html += '' + Locale.tr("Delete") + ''; }