update rivers-overview.js

This commit is contained in:
leie.sistal@gmail.com 2024-01-13 21:12:13 +01:00 committed by Claude
parent af4bca601c
commit 0f8bc3ee74
No known key found for this signature in database

View file

@ -179,7 +179,7 @@ function overviewRivers() {
}); });
} }
function removeAllRivers() { function triggerAllRiversRemove() {
alertMessage.innerHTML = /* html */ `Are you sure you want to remove all rivers?`; alertMessage.innerHTML = /* html */ `Are you sure you want to remove all rivers?`;
$("#alert").dialog({ $("#alert").dialog({
resizable: false, resizable: false,
@ -209,8 +209,9 @@ function overviewRivers() {
resizable: false, resizable: false,
title: "Import rivers", title: "Import rivers",
buttons: { buttons: {
Remove: function() { Import: function() {
$(this).dialog("close"); $(this).dialog("close");
loadriverscsv();
}, },
Cancel: function() { Cancel: function() {
$(this).dialog("close"); $(this).dialog("close");
@ -218,4 +219,8 @@ function overviewRivers() {
} }
}); });
} }
function loadriverscsv() {
}
} }