From 0f8bc3ee74b38afcdfd7faa76cf2d819efc440da 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 1aa20cfe..f356b799 100644 --- a/modules/ui/rivers-overview.js +++ b/modules/ui/rivers-overview.js @@ -179,7 +179,7 @@ function overviewRivers() { }); } - function removeAllRivers() { + function triggerAllRiversRemove() { alertMessage.innerHTML = /* html */ `Are you sure you want to remove all rivers?`; $("#alert").dialog({ resizable: false, @@ -209,8 +209,9 @@ function overviewRivers() { resizable: false, title: "Import rivers", buttons: { - Remove: function() { + Import: function() { $(this).dialog("close"); + loadriverscsv(); }, Cancel: function() { $(this).dialog("close"); @@ -218,4 +219,8 @@ function overviewRivers() { } }); } + + function loadriverscsv() { + + } }