diff options
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_connections.js | 3 | ||||
-rw-r--r-- | view/js/mod_sources.js | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index 6bfa039a8..ed1577792 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -38,6 +38,7 @@ function connectFullShare() { $('#me_id_perms_post_mail').attr('checked','checked'); $('#me_id_perms_chat').attr('checked','checked'); $('#me_id_perms_view_storage').attr('checked','checked'); + $('#me_id_perms_republish').attr('checked','checked'); } function connectCautiousShare() { @@ -73,6 +74,8 @@ function connectForum() { $('#me_id_perms_post_comments').attr('checked','checked'); $('#me_id_perms_post_mail').attr('checked','checked'); $('#me_id_perms_tag_deliver').attr('checked','checked'); + $('#me_id_perms_republish').attr('checked','checked'); + } function connectSoapBox() { diff --git a/view/js/mod_sources.js b/view/js/mod_sources.js new file mode 100644 index 000000000..140f13843 --- /dev/null +++ b/view/js/mod_sources.js @@ -0,0 +1,12 @@ +$(document).ready(function() { + var a; + a = $("#id_name").autocomplete({ + serviceUrl: baseurl + '/acl', + minChars: 2, + width: 350, + onSelect: function(value,data) { + $("#id_xchan").val(data); + } + }); + +}); |