mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
Added lock/unlock all (#713)
* Added lock/unlock all Lock All , Unlock All as separate buttons. Additionally to InvertLock. * Update burgs-overview.js Updated the syntax to the one suggested by Azgaar. * Lock/unlock in one button Unlock all burgs and lock all burgs in just one button. Additionally to invert lock. * lock unlock in burgs-overview.js Added a way to check if burgs are locked or unlocked with the lock all button, so it works in any situations about locking. * burgs-overview.js lock all Changed burgsonoff to setLockBurgs, also put setLockIcon. * index.html burgsonoff to burgsLockAll * Update burgs-overview.js spacing
This commit is contained in:
parent
25a43996fd
commit
142351c6ef
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ function overviewBurgs() {
|
||||||
updateFilter();
|
updateFilter();
|
||||||
updateLockAllIcon();
|
updateLockAllIcon();
|
||||||
burgsOverviewAddLines();
|
burgsOverviewAddLines();
|
||||||
$('#burgsOverview').dialog();
|
setLockIcon();
|
||||||
|
$("#burgsOverview").dialog();
|
||||||
|
|
||||||
if (modules.overviewBurgs) return;
|
if (modules.overviewBurgs) return;
|
||||||
modules.overviewBurgs = true;
|
modules.overviewBurgs = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue