From 399c5aed1e3eb66565b1f821bec9e4889b386ee1 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 28 Jun 2011 13:03:19 +0200 Subject: added deleteCheckedItems to jot-header.tpl --- view/theme/dispy/jot-header.tpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index aa9e0bfaf..3c70473ba 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -110,6 +110,24 @@ 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) { -- cgit v1.2.3 From 5023eed6052fd3ba3a7bb13cfc70f06c4c29a172 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 28 Jun 2011 21:30:46 -0700 Subject: change simplepie path in dispy --- view/theme/dispy/jot-header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 3c70473ba..eb88f00c1 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -1,5 +1,5 @@ - +