diff options
author | Friendika <info@friendika.com> | 2011-07-20 03:54:10 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-20 03:54:10 -0700 |
commit | 40092c83a5568a9896c05f7ccdd8da4649f5271a (patch) | |
tree | 4a3750df636bf641fd0de2f92287c305b2ae151d /view/acl_selector.tpl | |
parent | b27d68633be6219c3f65d830178e3dc96c1c91e9 (diff) | |
parent | 19c93adf846647a61e407e8172ea7153cb7f2c41 (diff) | |
download | volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.tar.gz volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.tar.bz2 volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.zip |
Merge pull request #142 from fabrixxm/newacl
More on ACL and editor
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> |