mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Hide the 'import zone' button
This commit is contained in:
parent
00c40c047e
commit
7ea11b16d4
1 changed files with 2 additions and 0 deletions
|
@ -246,11 +246,13 @@ $(document).ready(function () {
|
|||
hoverAnimationDuration: 60,
|
||||
hoverAnimationEasing: undefined,
|
||||
items: [{
|
||||
<? if (is_adminuser() or $allowzoneadd === TRUE) { ?>
|
||||
icon: 'jtable/lib/themes/metro/add.png',
|
||||
text: 'Import a new zone',
|
||||
click: function() {
|
||||
$('#ImportZone').jtable('showCreateForm');
|
||||
}
|
||||
<? } ?>
|
||||
}],
|
||||
},
|
||||
sorting: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue