main
parent
2a2dc6a30d
commit
0d7cb6f8d1
|
|
@ -1047,7 +1047,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function closeNoteModal() {
|
function closeNoteModal() {
|
||||||
$('#note-modal').hide();
|
$('#note-modal').hide(); //
|
||||||
$('#modal-overlay').hide();
|
$('#modal-overlay').hide();
|
||||||
$('#note-textarea').val(''); // Очищаем текстовое поле
|
$('#note-textarea').val(''); // Очищаем текстовое поле
|
||||||
selectedInstallId = null; // Сбрасываем выбранный ID
|
selectedInstallId = null; // Сбрасываем выбранный ID
|
||||||
|
|
@ -1154,7 +1154,7 @@
|
||||||
$('#folder-tree').jstree(true).refresh();
|
$('#folder-tree').jstree(true).refresh();
|
||||||
},
|
},
|
||||||
error: function (xhr, status, error) {
|
error: function (xhr, status, error) {
|
||||||
console.error("Error saving folder position:", status, error);
|
console.error("Error saving folder position:", status, error);
|
||||||
console.error("Response:", xhr.responseText);
|
console.error("Response:", xhr.responseText);
|
||||||
alert("Не удалось сохранить новое положение папки. Проверьте консоль.");
|
alert("Не удалось сохранить новое положение папки. Проверьте консоль.");
|
||||||
$('#folder-tree').jstree(true).refresh();
|
$('#folder-tree').jstree(true).refresh();
|
||||||
|
|
@ -1163,4 +1163,4 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue