mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Merge pull request #136 from krombel/master
fix switching of Views for non-admin-users (fix #135)
This commit is contained in:
commit
b7d61f5778
1 changed files with 12 additions and 0 deletions
12
index.php
12
index.php
|
@ -1177,6 +1177,18 @@ $(document).ready(function () {
|
||||||
entry: $('#searchlogs-entry').val()
|
entry: $('#searchlogs-entry').val()
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
<?php } else { ?>
|
||||||
|
$('#AboutMe').hide();
|
||||||
|
$('#aboutme').click(function () {
|
||||||
|
$('#MasterZones').hide();
|
||||||
|
$('#SlaveZones').hide();
|
||||||
|
$('#AboutMe').show();
|
||||||
|
});
|
||||||
|
$('#zoneadmin').click(function () {
|
||||||
|
$('#AboutMe').hide();
|
||||||
|
$('#MasterZones').show();
|
||||||
|
$('#SlaveZones').show();
|
||||||
|
});
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
$('#MasterZones').jtable('load');
|
$('#MasterZones').jtable('load');
|
||||||
|
|
Loading…
Add table
Reference in a new issue