Merge pull request #623 from bloqaudio/fix/save-button-dirty

web: highlight Save to flash only when there are unsaved changes
This commit is contained in:
feelfree69 authored and GitHub committed 2026-10-24 19:39:55 +02:00
commit 9c65039bab
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -836,6 +836,7 @@ function isConfCmd(line){
function setDirty(d){
S.dirty=d;
$("dirty").classList.toggle("show",d);
$("saveBtn").classList.toggle("pri",d);
}
function postCmd(cmd,quiet){
return api("/cmd",{method:"POST",body:cmd}).then(function(r){