You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/22 20:27:53 UTC

[4/4] git commit: updated refs/heads/ui-vm-affinity to 2be8368

Affinity UI: Cleanup dialog on close


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2be8368f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2be8368f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2be8368f

Branch: refs/heads/ui-vm-affinity
Commit: 2be8368f449e49ac1629c230268c8af15912ffc5
Parents: 57686ae
Author: Brian Federle <br...@citrix.com>
Authored: Mon Apr 22 11:27:47 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Apr 22 11:27:47 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/affinity.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2be8368f/ui/scripts/ui-custom/affinity.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/affinity.js b/ui/scripts/ui-custom/affinity.js
index 1f51b52..1a23ff7 100644
--- a/ui/scripts/ui-custom/affinity.js
+++ b/ui/scripts/ui-custom/affinity.js
@@ -117,6 +117,7 @@
 
               $('div.overlay').fadeOut(function() {
                 $('div.overlay').remove();
+                $(':ui-dialog').dialog('destroy');
               });
             }
           },
@@ -129,6 +130,7 @@
               });
               $('div.overlay').fadeOut(function() {
                 $('div.overlay').remove();
+                $(':ui-dialog').dialog('destroy');
               });
             }
           }