mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
when dialog is closed, remove divs from dom
This commit is contained in:
parent
63b8c32d63
commit
35e7341654
@ -34,6 +34,9 @@ var BootstrapDialog = new Class({
|
|||||||
content.append(footer);
|
content.append(footer);
|
||||||
}
|
}
|
||||||
this._native.find(".modal-dialog").append(content);
|
this._native.find(".modal-dialog").append(content);
|
||||||
|
this._native.on('hidden.bs.modal', function() {
|
||||||
|
$(this).remove();
|
||||||
|
});
|
||||||
this._native.on('shown.bs.modal', this.onDialogShown);
|
this._native.on('shown.bs.modal', this.onDialogShown);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user