diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-08-16 07:54:24 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-08-16 07:54:24 +0200 |
commit | 452c4d13b09e123dbce96e5dcd859f663b59ccbb (patch) | |
tree | 368071aa3eb7f024ae0477d85b47fb013eae5ff3 /view/js | |
parent | 86d2daf473f026ce5fde9d2a7fa893ba365ce58f (diff) | |
download | volse-hubzilla-452c4d13b09e123dbce96e5dcd859f663b59ccbb.tar.gz volse-hubzilla-452c4d13b09e123dbce96e5dcd859f663b59ccbb.tar.bz2 volse-hubzilla-452c4d13b09e123dbce96e5dcd859f663b59ccbb.zip |
remove unneeded function
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/acl.js | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/view/js/acl.js b/view/js/acl.js index 086d85750..4eba83fc3 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -186,32 +186,6 @@ ACL.prototype.on_showlimited = function(event) { return true; // return true so that state changes from update_view() will be applied } -ACL.prototype.on_selectall = function(event) { - event.preventDefault(); - event.stopPropagation(); - - /* This function has not yet been completed. */ - /* The goal is to select all ACL "show" entries with one action. */ - - $('.acl-button-show').each(function(){}); - - if (that.showall.hasClass("btn-warning")) { - return false; - } - that.showall.removeClass("btn-default").addClass("btn-warning"); - - that.allow_cid = []; - that.allow_gid = []; - that.deny_cid = []; - that.deny_gid = []; - - that.update_view(); - that.on_submit(); - - return false; -}; - - ACL.prototype.on_button_show = function(event) { event.preventDefault(); event.stopImmediatePropagation(); @@ -354,6 +328,7 @@ ACL.prototype.update_view = function(value) { $("#acl-list-content .acl-list-item").each(function() { $(this).removeClass("groupshow grouphide"); }); + $("#acl-list-content .acl-list-item").each(function() { itemid = $(this).attr('id'); type = itemid[0]; |