Merge pull request #129 from tobiasd/master

deleteCheckedItems was missing in dispy
This commit is contained in:
Friendika 2011-06-28 15:23:56 -07:00
commit 0a6b4c93fe

View File

@ -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) {