diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-20 10:00:33 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-20 10:00:33 +0200 |
commit | 1c9ed08620578bebc8af16e003a2ecef2b8a1f37 (patch) | |
tree | ecd397799ba87820392329d2271b3ab268276a1b /view/acl_selector.tpl | |
parent | 0a3ae96093a1fd81414b4fceaf65d4e98efda26c (diff) | |
download | volse-hubzilla-1c9ed08620578bebc8af16e003a2ecef2b8a1f37.tar.gz volse-hubzilla-1c9ed08620578bebc8af16e003a2ecef2b8a1f37.tar.bz2 volse-hubzilla-1c9ed08620578bebc8af16e003a2ecef2b8a1f37.zip |
show acl selector in a popup with fancybox
Diffstat (limited to 'view/acl_selector.tpl')
-rw-r--r-- | view/acl_selector.tpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/view/acl_selector.tpl b/view/acl_selector.tpl index 3379f5764..3f8a9e7d2 100644 --- a/view/acl_selector.tpl +++ b/view/acl_selector.tpl @@ -15,10 +15,12 @@ </div> <script> -$(function(){ - acl = new ACL( - baseurl+"/acl", - [$allowcid,$allowgid,$denycid,$denygid] - ); +$(document).ready(function() { + if(typeof acl=="undefined"){ + acl = new ACL( + baseurl+"/acl", + [$allowcid,$allowgid,$denycid,$denygid] + ); + } }); </script> |