From e6af798373876b60fe80109a98d6e4ee7f22bf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Tue, 28 Aug 2018 22:14:03 -0300 Subject: [PATCH] Fix "Migrate instance to another host" popup modal (#2803) * Fix "Migrate instance to another host" popup * fix OK button that was not working as it should have been --- ui/scripts/ui-custom/migrate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui-custom/migrate.js b/ui/scripts/ui-custom/migrate.js index fa940703dbc..40a6d418ab4 100644 --- a/ui/scripts/ui-custom/migrate.js +++ b/ui/scripts/ui-custom/migrate.js @@ -100,6 +100,7 @@ $('div.overlay').fadeOut(function() { $('div.overlay').remove(); + $(':ui-dialog').dialog('destroy'); }); } else { @@ -121,7 +122,8 @@ }); } }] - }).parent('.ui-dialog').overlay(); + }); + cloudStack.applyDefaultZindexAndOverlayOnJqueryDialogAndRemoveCloseButton($dataList); }; }; }(cloudStack, jQuery));