Skip to content

Commit 2be8368

Browse files
committed
Affinity UI: Cleanup dialog on close
1 parent 57686ae commit 2be8368

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ui/scripts/ui-custom/affinity.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
$('div.overlay').fadeOut(function() {
119119
$('div.overlay').remove();
120+
$(':ui-dialog').dialog('destroy');
120121
});
121122
}
122123
},
@@ -129,6 +130,7 @@
129130
});
130131
$('div.overlay').fadeOut(function() {
131132
$('div.overlay').remove();
133+
$(':ui-dialog').dialog('destroy');
132134
});
133135
}
134136
}

0 commit comments

Comments
 (0)