From 0f3292fefb96016ad98b8f25746824d9e3cff31e Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 16 Jun 2011 15:26:39 -0700 Subject: [PATCH] revup --- boot.php | 2 +- view/jot-header.tpl | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 49247eb23f..94db299420 100644 --- a/boot.php +++ b/boot.php @@ -4,7 +4,7 @@ set_time_limit(0); ini_set('pcre.backtrack_limit', 250000); -define ( 'FRIENDIKA_VERSION', '2.2.1012' ); +define ( 'FRIENDIKA_VERSION', '2.2.1013' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); define ( 'DB_UPDATE_VERSION', 1063 ); diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 61c80702ef..bf2dde8e9b 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -114,10 +114,12 @@ tinyMCE.init({ $('.item-select').each( function() { if($(this).is(':checked')) { - if(checkedstr.length != 0) + if(checkedstr.length != 0) { checkedstr = checkedstr + ',' + $(this).val(); - else + } + else { checkedstr = $(this).val(); + } } }); $.post('item', { dropitems: checkedstr }, function(data) {