diff --git a/html/exhi/application/views/project/v_project_create.php b/html/exhi/application/views/project/v_project_create.php index 39ef1d12d1850e24b885cfc3552fa91260473aab..c22f6a2ec80ab0b3ac49bc9f1c103f3e984acd53 100644 --- a/html/exhi/application/views/project/v_project_create.php +++ b/html/exhi/application/views/project/v_project_create.php @@ -805,7 +805,7 @@ function insert_projecct(){ html: 'กำลังดำเนินการ',// add html attribute if you want or remove allowOutsideClick: false, showConfirmButton: false, - onBeforeOpen: () => { + didOpen: () => { Swal.showLoading() }, }) diff --git a/html/exhi/application/views/project/v_project_create_user.php b/html/exhi/application/views/project/v_project_create_user.php index 8f08512886c28990d1551e991c514ecf62b32065..1d3c99fa5aee57fe2c0b9dd535309c6545d3e1d8 100644 --- a/html/exhi/application/views/project/v_project_create_user.php +++ b/html/exhi/application/views/project/v_project_create_user.php @@ -807,7 +807,7 @@ function insert_projecct(){ html: 'กำลังดำเนินการ',// add html attribute if you want or remove allowOutsideClick: false, showConfirmButton: false, - onBeforeOpen: () => { + didOpen: () => { Swal.showLoading() }, }) diff --git a/html/exhi/application/views/project/v_project_edit.php b/html/exhi/application/views/project/v_project_edit.php index 554996852f4ee010f4fcb8ee1037ad33003e90d5..af7c09d893d7df76c8a2a3db746fd5323297bce4 100644 --- a/html/exhi/application/views/project/v_project_edit.php +++ b/html/exhi/application/views/project/v_project_edit.php @@ -976,7 +976,7 @@ function update_projecct(){ html: 'กำลังดำเนินการ',// add html attribute if you want or remove allowOutsideClick: false, showConfirmButton: false, - onBeforeOpen: () => { + didOpen: () => { Swal.showLoading() }, }) diff --git a/html/exhi/application/views/project/v_project_edit_user.php b/html/exhi/application/views/project/v_project_edit_user.php index 2e917acf4670af84f6ac4d26470791544dec60bd..759b7cbae57cb02cb46486f2e71ffc6a1fb10e4d 100644 --- a/html/exhi/application/views/project/v_project_edit_user.php +++ b/html/exhi/application/views/project/v_project_edit_user.php @@ -976,7 +976,7 @@ function update_projecct(){ html: 'กำลังดำเนินการ',// add html attribute if you want or remove allowOutsideClick: false, showConfirmButton: false, - onBeforeOpen: () => { + didOpen: () => { Swal.showLoading() }, })