]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/event_edit.js
Merge pull request #8131 from nupplaphil/task/cleanup_lock
[friendica.git] / view / theme / frio / js / event_edit.js
index 597563fe1f81b1a828ddfebdc9d45556d4d3dd01..a068b4fe0e53385f1898873e1d0618bb11f0d63c 100644 (file)
@@ -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 + '/search/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