diff options
author | mrjive <mrjive@mrjive.it> | 2015-01-06 15:13:03 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2015-01-06 15:13:03 +0100 |
commit | b80c218606994032e76805900cb9b340ea132358 (patch) | |
tree | bf625cf4c59bf521e639018399bf1770d116a6a0 /view/js/mod_photos.js | |
parent | aa6d61d3b19cb13c30bf5a1579adefedf0cc9515 (diff) | |
parent | 3185bfe3ca131d471b8fcdc0c94abf1a114486c7 (diff) | |
download | volse-hubzilla-b80c218606994032e76805900cb9b340ea132358.tar.gz volse-hubzilla-b80c218606994032e76805900cb9b340ea132358.tar.bz2 volse-hubzilla-b80c218606994032e76805900cb9b340ea132358.zip |
Merge pull request #1 from friendica/master
test pull request
Diffstat (limited to 'view/js/mod_photos.js')
-rw-r--r-- | view/js/mod_photos.js | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index aaa86df40..0a64f8102 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -3,15 +3,18 @@ var ispublic = aStr['everybody']; $(document).ready(function() { - $("a#photos-upload-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' + var a; + a = $("#photo-edit-newtag").autocomplete({ + serviceUrl: baseurl + '/acl', + minChars: 2, + width: 250, + id: 'newtag-ac', + onSelect: function(value,data) { + $("#photo-edit-newtag").val(data); + }, }); + a.setOptions({ params: { type: 'p' }}); - $("a#settings-default-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' - }); $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; |