From 8821d75442cb68ff2fbca4debc282a335c502754 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Fri, 13 Dec 2013 08:44:06 -0800 Subject: [PATCH] CLOUDSTACK-5480: Fix broken password confirm validation Properly destroy add account dialog on close, to fix password confirm validation pointing to wrong dialog's field. --- ui/scripts/ui-custom/accountsWizard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/scripts/ui-custom/accountsWizard.js b/ui/scripts/ui-custom/accountsWizard.js index f341711b0a3..e52c21f7221 100644 --- a/ui/scripts/ui-custom/accountsWizard.js +++ b/ui/scripts/ui-custom/accountsWizard.js @@ -26,6 +26,7 @@ var close = function() { $wizard.dialog('destroy'); + $wizard.remove(); $('div.overlay').fadeOut(function() { $('div.overlay').remove(); });