X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fevent_edit.js;h=a068b4fe0e53385f1898873e1d0618bb11f0d63c;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=628835a5f0ba1958f977cc9376526fae970ab35a;hpb=11a3b45957c880108aeaeddf4f8bbd3ae64c5a0f;p=friendica.git diff --git a/view/theme/frio/js/event_edit.js b/view/theme/frio/js/event_edit.js index 628835a5f0..a068b4fe0e 100644 --- a/view/theme/frio/js/event_edit.js +++ b/view/theme/frio/js/event_edit.js @@ -49,24 +49,6 @@ $(document).ready(function() { $("#event-preview").empty(); e.preventDefault(); }); - - // Construct a new ACL. We need this everytime the 'event-edit-form' is loaded - // without page reloading (e.g. closing an old modal and open a new modal). - // Otherwise we wouldn't get the ACL data. - /// @todo: Try to implement some kind of ACL reloading in acl.js. - - var eventPerms = document.getElementById('event-edit-form'); - - acl = new ACL( - baseurl + "/acl", - [ - JSON.parse(eventPerms.dataset.allow_cid), - JSON.parse(eventPerms.dataset.allow_gid), - JSON.parse(eventPerms.dataset.deny_cid), - JSON.parse(eventPerms.dataset.deny_gid) - ] - ); - acl.get(0, 100); }); // Load the html of the actual event and incect the output to the