mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
update rivers-overview.js
This commit is contained in:
parent
af4bca601c
commit
0f8bc3ee74
1 changed files with 7 additions and 2 deletions
|
|
@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue