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,
|
hoverAnimationDuration: 60,
|
||||||
hoverAnimationEasing: undefined,
|
hoverAnimationEasing: undefined,
|
||||||
items: [{
|
items: [{
|
||||||
|
<? if (is_adminuser() or $allowzoneadd === TRUE) { ?>
|
||||||
icon: 'jtable/lib/themes/metro/add.png',
|
icon: 'jtable/lib/themes/metro/add.png',
|
||||||
text: 'Import a new zone',
|
text: 'Import a new zone',
|
||||||
click: function() {
|
click: function() {
|
||||||
$('#ImportZone').jtable('showCreateForm');
|
$('#ImportZone').jtable('showCreateForm');
|
||||||
}
|
}
|
||||||
|
<? } ?>
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
sorting: false,
|
sorting: false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue