diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-03-24 19:38:54 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-03-24 19:38:54 -0400 |
commit | 8a6c407282fe10f676f08f21e28647a5c8794e11 (patch) | |
tree | b5a5bc5881bf5b35cdb52bb997498ef36a391720 /view/theme/diabook/fpostit/fpostit.js | |
parent | 803f79e0912c4a526a16fdda4809277d8ad3195d (diff) | |
parent | 3ae43c24487450a749942ef4c3c19fa2a61461b6 (diff) | |
download | volse-hubzilla-8a6c407282fe10f676f08f21e28647a5c8794e11.tar.gz volse-hubzilla-8a6c407282fe10f676f08f21e28647a5c8794e11.tar.bz2 volse-hubzilla-8a6c407282fe10f676f08f21e28647a5c8794e11.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
prevent duplicate friend suggestions
block filed items from deletion
add the bang
network filter is now a permission group
small fix in css
add right_aside to diabook-blue
add connectable services to right_aside
add PostIt to right_aside, fixes in css
* master:
Diffstat (limited to 'view/theme/diabook/fpostit/fpostit.js')
-rwxr-xr-x | view/theme/diabook/fpostit/fpostit.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/theme/diabook/fpostit/fpostit.js b/view/theme/diabook/fpostit/fpostit.js new file mode 100755 index 000000000..d183c7573 --- /dev/null +++ b/view/theme/diabook/fpostit/fpostit.js @@ -0,0 +1,6 @@ +javascript: (function() { + the_url = 'localhost/view/theme/diabook/fpostit/fpostit.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' + encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text)); + a_funct = function() { + if (!window.open(the_url, 'fpostit', 'location=yes,links=no,scrollbars=no,toolbar=no,width=600,height=300')) location.href = the_url}; + if (/Firefox/.test(navigator.userAgent)) {setTimeout(a_funct, 0)} + else {a_funct()}})()"
\ No newline at end of file |