Hide the 'import zone' button

This commit is contained in:
Mark Schouten 2014-10-01 09:51:19 +02:00
parent 00c40c047e
commit 7ea11b16d4

View file

@ -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,