update rivers-overview.js

This commit is contained in:
leie.sistal@gmail.com 2024-01-13 21:12:13 +01:00
parent 9b30da95d2
commit ded115f86a

View file

@ -165,7 +165,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,
@ -195,8 +195,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");
@ -204,4 +205,8 @@ function overviewRivers() {
} }
}); });
} }
function loadriverscsv() {
}
} }