From ded115f86a9418fbd9afda4e8c8d917384876e6e Mon Sep 17 00:00:00 2001 From: "leie.sistal@gmail.com" Date: Sat, 13 Jan 2024 21:12:13 +0100 Subject: [PATCH] update rivers-overview.js --- modules/ui/rivers-overview.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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() { + + } }