From 931a4fafe316b23bacf92ac1ff35f9b8467415dd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 29 Apr 2016 21:38:36 +0200 Subject: get rid of the unused ispublic variable --- view/js/mod_photos.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'view/js/mod_photos.js') diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index 34e2e3f25..8af75b4eb 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -1,10 +1,6 @@ /** * JavaScript used by mod/photos */ - -// is this variable used anywhere? -var ispublic = aStr.everybody; - $(document).ready(function() { $("#photo-edit-newtag").contact_autocomplete(baseurl + '/acl', 'p', false, function(data) { -- cgit v1.2.3 From 2f74f9eb401d03b6eb8f8e12b80a7b8f4a989dd2 Mon Sep 17 00:00:00 2001 From: Treer Date: Sun, 1 May 2016 04:51:01 +1000 Subject: update icon names in view/js --- view/js/mod_photos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js/mod_photos.js') diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index 8af75b4eb..006be5f23 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -13,11 +13,11 @@ $(document).ready(function() { var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { selstr = $(this).text(); - $('#jot-perms-icon').removeClass('icon-unlock').addClass('icon-lock'); + $('#jot-perms-icon').removeClass('fa-unlock').addClass('fa-lock'); $('#jot-public').hide(); }); if(selstr === null) { - $('#jot-perms-icon').removeClass('icon-lock').addClass('icon-unlock'); + $('#jot-perms-icon').removeClass('fa-lock').addClass('fa-unlock'); $('#jot-public').show(); } }).trigger('change'); -- cgit v1.2.3 From f60a0c5ce050febb0b200938eb51d88cf563b88f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 13 Jul 2016 17:51:19 -0700 Subject: document mod_acl a bit better and try to remove some redundancies and consolidate the various options --- view/js/mod_photos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js/mod_photos.js') diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index 006be5f23..e3df3ca68 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -3,7 +3,7 @@ */ $(document).ready(function() { - $("#photo-edit-newtag").contact_autocomplete(baseurl + '/acl', 'p', false, function(data) { + $("#photo-edit-newtag").contact_autocomplete(baseurl + '/acl', 'a', false, function(data) { $("#photo-edit-newtag").val('@' + data.name); }); -- cgit v1.2.3