mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Implement new jquery-ui and fix creation of new zones
This commit is contained in:
parent
0115f4500d
commit
58fab332dc
2 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue