diff --git a/modules/ui/rivers-overview.js b/modules/ui/rivers-overview.js index 3b1c9f91..550403cd 100644 --- a/modules/ui/rivers-overview.js +++ b/modules/ui/rivers-overview.js @@ -165,7 +165,7 @@ function overviewRivers() { }); } - function removeAllRivers() { + function triggerAllRiversRemove() { alertMessage.innerHTML = /* html */ `Are you sure you want to remove all rivers?`; $("#alert").dialog({ resizable: false, @@ -195,8 +195,9 @@ function overviewRivers() { resizable: false, title: "Import rivers", buttons: { - Remove: function() { + Import: function() { $(this).dialog("close"); + loadriverscsv(); }, Cancel: function() { $(this).dialog("close"); @@ -204,4 +205,8 @@ function overviewRivers() { } }); } + + function loadriverscsv() { + + } }