Implement new jquery-ui and fix creation of new zones

This commit is contained in:
Mark Schouten 2016-08-05 13:08:48 +02:00
parent 0115f4500d
commit 58fab332dc
2 changed files with 3 additions and 1 deletions

View file

@ -39,7 +39,7 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha
<?php if ($menutype === 'horizontal') { ?>
<link href="css/horizontal-menu.css" rel="stylesheet" type="text/css"/>
<?php } ?>
<script src="jquery-ui/ui/jquery-1-7.js" type="text/javascript"></script>
<script src="jquery-ui/external/jquery/jquery.js" type="text/javascript"></script>
<script src="jquery-ui/ui/core.js" type="text/javascript"></script>
<script src="jquery-ui/ui/widget.js" type="text/javascript"></script>
<script src="jquery-ui/ui/mouse.js" type="text/javascript"></script>

View file

@ -269,6 +269,8 @@ case "create":
$api->savezone($zone->export());
$zone = new Zone();
$zone->parse($api->loadzone($zonename));
$zonename = $zone->name;
if (is_adminuser() && isset($_POST['account'])) {