mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#9073 fixed bug when modal close
This commit is contained in:
parent
864d54ee88
commit
ace67ba42d
@ -271,6 +271,13 @@ function load_tips_modal(settings) {
|
|||||||
if (id_modal_target != undefined) {
|
if (id_modal_target != undefined) {
|
||||||
$(id_modal_target).remove();
|
$(id_modal_target).remove();
|
||||||
}
|
}
|
||||||
|
if ($("#tips_window_modal").length > 0) {
|
||||||
|
$("#tips_window_modal").remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($("#tips_window_modal_preview").length > 0) {
|
||||||
|
$("#tips_window_modal_preview").empty();
|
||||||
|
}
|
||||||
|
|
||||||
if (settings.cleanup != undefined) {
|
if (settings.cleanup != undefined) {
|
||||||
settings.cleanup();
|
settings.cleanup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user