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