Sửa lỗi xóa scene con thì xóa luôn scene cha
This commit is contained in:
1 parent
67825b04cc
commit
45ba805b39
7 files changed
+4
No files matched your search
@@ -976,6 +976,10 @@ function closeActionModal() {
|
||||
*/
|
||||
window.deleteScene = async function(sceneId, sceneData = null) { // Thêm sceneData để tránh fetch lại
|
||||
sceneIdToDelete = sceneId;
|
||||
// Tạm thời đóng dashboard và lưu trạng thái để mở lại sau
|
||||
dashboardReturnTab = 'my-scenes';
|
||||
returnToDashboardAfterEdit = true;
|
||||
closeDashboard();
|
||||
const confirmModal = document.getElementById('delete-scene-confirm-modal');
|
||||
const confirmMessageElem = document.getElementById('delete-scene-confirm-message'); // Giả định có element này trong HTML
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.7 MiB |
File renamed without changes.
Binary file not shown.
|
After Width: | Height: | Size: 4.4 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 MiB |
Reference in new issue
Block a user