diff options
author | Simon Rettberg | 2019-11-27 11:22:11 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-27 11:22:11 +0100 |
commit | 63c02d5082528d9d0c69520e0034cbb52522208d (patch) | |
tree | 0db60510494949f368b47d5e8da3986a20eb971a /modules-available/locations/pages | |
parent | [rebootcontrol] Start adding WOL functionality (diff) | |
download | slx-admin-63c02d5082528d9d0c69520e0034cbb52522208d.tar.gz slx-admin-63c02d5082528d9d0c69520e0034cbb52522208d.tar.xz slx-admin-63c02d5082528d9d0c69520e0034cbb52522208d.zip |
[js_ip/locations] Mode cidr/ip handling to own module
Diffstat (limited to 'modules-available/locations/pages')
-rw-r--r-- | modules-available/locations/pages/locations.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locations/pages/locations.inc.php b/modules-available/locations/pages/locations.inc.php index a8cd2e63..54f44554 100644 --- a/modules-available/locations/pages/locations.inc.php +++ b/modules-available/locations/pages/locations.inc.php @@ -242,6 +242,7 @@ class SubPage // depends on permissions in the according modules, not this one Permission::addGlobalTags($data['perms'], NULL, ['subnets.edit', 'location.add']); Render::addTemplate('locations', $data); + Module::isAvailable('js_ip'); // For CIDR magic } private static function propagateFields(&$locationList, $defaultValue, $name, $class) |