From 95a45a119dd61241ae8d0f0f8eda467cff64d855 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 11 Feb 2014 18:45:50 -0800 Subject: shamelessly steal, and cut/paste from the settings page to get mod_photos edit permissions working - and it looks like we still have some other fancybox instances (yet another lightbox) which haven't yet been converted to colorbox and will need to be fixed. Way too many lightboxes. --- view/js/mod_photos.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'view/js') diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index 82957ae44..c9d13f742 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -1,5 +1,13 @@ + +var ispublic = aStr['everybody']; + $(document).ready(function() { + $("a#settings-default-perms-menu").colorbox({ + 'inline' : true, + 'transition' : 'elastic' + }); + $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { -- cgit v1.2.3