Skip to content

Commit

Permalink
Fixed a bug where dialog was not properly removed when closed through…
Browse files Browse the repository at this point in the history
… the 'X' button
  • Loading branch information
cvetan5 committed Nov 8, 2014
1 parent af4f05e commit 1fd9adf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion InterfaceDesigner-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3415,7 +3415,11 @@ var ModalDialog = Class.$extend(
minHeight : this.height,
modal : true,
closeOnEscape : true,
buttons : this.buttons
buttons : this.buttons,
close : function()
{
$(this).remove();
}
});

this.element.dialog("open");
Expand Down

0 comments on commit 1fd9adf

Please sign in to comment.