aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-05 16:05:21 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-05 16:05:21 +0200
commit531baa8fc4c29c10afdf52fc88174b8b6fd69700 (patch)
tree95e9b493a6fd9b9370b230a11d59be73b9fcedd2 /view
parente67f5bc6bbb77d53867d7c03bda8410c59360dbe (diff)
downloadvolse-hubzilla-531baa8fc4c29c10afdf52fc88174b8b6fd69700.tar.gz
volse-hubzilla-531baa8fc4c29c10afdf52fc88174b8b6fd69700.tar.bz2
volse-hubzilla-531baa8fc4c29c10afdf52fc88174b8b6fd69700.zip
Revert "Revert "remove some logging""
This reverts commit e67f5bc6bbb77d53867d7c03bda8410c59360dbe.
Diffstat (limited to 'view')
-rw-r--r--view/js/acl.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/view/js/acl.js b/view/js/acl.js
index 2ba7ea46a..b36fa97a1 100644
--- a/view/js/acl.js
+++ b/view/js/acl.js
@@ -65,11 +65,8 @@ function ACL(backend_url) {
ACL.prototype.get_form_data = function(event) {
form_id = $(this).data('form_id');
-
that.form_id = $('#' + form_id);
- console.log(form_id);
-
that.allow_cid = (that.form_id.data('allow_cid') || []);
that.allow_gid = (that.form_id.data('allow_gid') || []);
that.deny_cid = (that.form_id.data('deny_cid') || []);
@@ -77,6 +74,7 @@ ACL.prototype.get_form_data = function(event) {
that.update_view();
that.on_submit();
+
}
// no longer called only on submit - call to update whenever a change occurs to the acl list.
@@ -268,17 +266,10 @@ ACL.prototype.update_select = function(set) {
ACL.prototype.update_view = function(value) {
if(that.form_id) {
- console.log(that.form_id);
-
that.form_id.data('allow_cid', that.allow_cid);
that.form_id.data('allow_gid', that.allow_gid);
that.form_id.data('deny_cid', that.deny_cid);
that.form_id.data('deny_gid', that.deny_gid);
-
- console.log(that.form_id.data('allow_cid'));
- console.log(that.form_id.data('allow_gid'));
- console.log(that.form_id.data('deny_cid'));
- console.log(that.form_id.data('deny_gid'));
}
if (that.allow_gid.length === 0 && that.allow_cid.length === 0 && that.deny_gid.length === 0 && that.deny_cid.length === 0) {