aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-07 20:15:54 -0800
committerfriendica <info@friendica.com>2014-03-07 20:15:54 -0800
commit3b0b59dfad2c69539e018e43b9ee946a9d9993bc (patch)
tree86d26ff28263c3fef81dfd73fc471a87166fb906
parent16c2aa042fade698ece5dcb67cde10ff8155bd65 (diff)
downloadvolse-hubzilla-3b0b59dfad2c69539e018e43b9ee946a9d9993bc.tar.gz
volse-hubzilla-3b0b59dfad2c69539e018e43b9ee946a9d9993bc.tar.bz2
volse-hubzilla-3b0b59dfad2c69539e018e43b9ee946a9d9993bc.zip
When approving a connection automatically select Full Sharing.
-rw-r--r--view/js/mod_connedit.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/js/mod_connedit.js b/view/js/mod_connedit.js
index 7a33952dc..a641029f3 100644
--- a/view/js/mod_connedit.js
+++ b/view/js/mod_connedit.js
@@ -1,4 +1,10 @@
+$(document).ready(function() {
+ $('#id_pending').click(function() {
+ connectFullShare();
+ });
+});
+
function connectFullShare() {
$('.abook-edit-me').each(function() {
if(! $(this).is(':disabled'))