From 58fab332dc89f39c80ba6eefd75981208aea412b Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 5 Aug 2016 13:08:48 +0200 Subject: [PATCH] Implement new jquery-ui and fix creation of new zones --- index.php | 2 +- zones.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 8c5a4bc..e56d501 100644 --- a/index.php +++ b/index.php @@ -39,7 +39,7 @@ if (is_logged_in() and isset($_POST['formname']) and $_POST['formname'] === "cha - + diff --git a/zones.php b/zones.php index a794cb2..b7f1ca5 100644 --- a/zones.php +++ b/zones.php @@ -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'])) {