aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-16 15:26:39 -0700
committerFriendika <info@friendika.com>2011-06-16 15:26:39 -0700
commit0f3292fefb96016ad98b8f25746824d9e3cff31e (patch)
tree1050704a36aa58daad31cf380bb97acddf7c418b /view
parentc92e6ed929ddb12a3020eecf419a30b680fe4240 (diff)
downloadvolse-hubzilla-0f3292fefb96016ad98b8f25746824d9e3cff31e.tar.gz
volse-hubzilla-0f3292fefb96016ad98b8f25746824d9e3cff31e.tar.bz2
volse-hubzilla-0f3292fefb96016ad98b8f25746824d9e3cff31e.zip
revup
Diffstat (limited to 'view')
-rw-r--r--view/jot-header.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 61c80702e..bf2dde8e9 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) {