aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-06-16 15:30:51 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-06-16 15:30:51 +0200
commitbca1dcf2d6e243ca803e590168305ed5a232d923 (patch)
tree7e2e8b5ac3fd8734fc53f1cb22a81169860e6059 /view/jot-header.tpl
parentae3c9b7b2b6f6b8bf7a5d5e72bd66f1bff3b081d (diff)
parentc92e6ed929ddb12a3020eecf419a30b680fe4240 (diff)
downloadvolse-hubzilla-bca1dcf2d6e243ca803e590168305ed5a232d923.tar.gz
volse-hubzilla-bca1dcf2d6e243ca803e590168305ed5a232d923.tar.bz2
volse-hubzilla-bca1dcf2d6e243ca803e590168305ed5a232d923.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 77e5bc4bc..61c80702e 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -109,6 +109,22 @@ tinyMCE.init({
});
+ function deleteCheckedItems() {
+ var checkedstr = '';
+
+ $('.item-select').each( function() {
+ if($(this).is(':checked')) {
+ if(checkedstr.length != 0)
+ checkedstr = checkedstr + ',' + $(this).val();
+ else
+ checkedstr = $(this).val();
+ }
+ });
+ $.post('item', { dropitems: checkedstr }, function(data) {
+ window.location.reload();
+ });
+ }
+
function jotGetLink() {
reply = prompt("$linkurl");
if(reply && reply.length) {