diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-02 13:15:28 -0800 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-07 21:41:48 +0100 |
commit | c8afde6f879817bf7f4f6d39f03a6ab8b10a2cfd (patch) | |
tree | b8574933e5e51b83dbb3b5029684ca741732b48c /view | |
parent | 726576363cd7a2efd6498cf361dbf4740679a8ec (diff) | |
download | volse-hubzilla-c8afde6f879817bf7f4f6d39f03a6ab8b10a2cfd.tar.gz volse-hubzilla-c8afde6f879817bf7f4f6d39f03a6ab8b10a2cfd.tar.bz2 volse-hubzilla-c8afde6f879817bf7f4f6d39f03a6ab8b10a2cfd.zip |
process follow from article menu in the background, do not reload page - hubzilla issue #987
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index f6fe475d8..98a756fff 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -304,6 +304,12 @@ function insertCommentURL(comment, id) { return true; } +function doFollowAuthor(url) { + $.get(url, function(data) { notificationsUpdate(); }); + return true; +} + + function viewsrc(id) { $.colorbox({href: 'viewsrc/' + id, maxWidth: '80%', maxHeight: '80%' }); } |