Notes: Fix after changing Note state to lower value

This commit is contained in:
Szymon Porwolik
2025-10-09 20:32:49 +02:00
parent db19642294
commit a341cf0f29

View File

@@ -1027,13 +1027,16 @@ function get_note_status(callsign){
$('#callsign-note-id').val(data.id);
setNotesVisibility(2, noteData.content);
} else {
$('#callsign-note-id').val('');
setNotesVisibility(2, lang_general_word_error);
}
}
).fail(function() {
$('#callsign-note-id').val('');
setNotesVisibility(2, lang_general_word_error);
});
} else {
$('#callsign-note-id').val('');
setNotesVisibility(1);
}
}