mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
fix switching of Views for non-admin-users (#135)
This commit is contained in:
parent
93c88cc196
commit
a3affccacd
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()
|
||||
});
|
||||
});
|
||||
<?php } else { ?>
|
||||
$('#AboutMe').hide();
|
||||
$('#aboutme').click(function () {
|
||||
$('#MasterZones').hide();
|
||||
$('#SlaveZones').hide();
|
||||
$('#AboutMe').show();
|
||||
});
|
||||
$('#zoneadmin').click(function () {
|
||||
$('#AboutMe').hide();
|
||||
$('#MasterZones').show();
|
||||
$('#SlaveZones').show();
|
||||
});
|
||||
|
||||
<?php } ?>
|
||||
$('#MasterZones').jtable('load');
|
||||
|
|
Loading…
Add table
Reference in a new issue