show jotnets toggle button only if there are jotnets and whitespace fixes

This commit is contained in:
Mario Vavti 2015-11-17 10:46:38 +01:00
parent 6df98f080b
commit b531486dab

View File

@ -41,14 +41,10 @@
</div><!-- /.modal --> </div><!-- /.modal -->
<script> <script>
//$(document).ready(function() {
// setTimeout( function () {
if(typeof acl=="undefined"){ if(typeof acl=="undefined"){
acl = new ACL( acl = new ACL(
baseurl+"/acl", baseurl+"/acl",
[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ] [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
); );
} }
// }, 5000 );
//});
</script> </script>