aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-16 00:38:41 -0700
committerFriendika <info@friendika.com>2011-06-16 00:38:41 -0700
commitc92e6ed929ddb12a3020eecf419a30b680fe4240 (patch)
tree1ae0f866d29b4feed1ca4e34f401fbecf3c7b9a5 /view/jot-header.tpl
parente5b54e74ba22b487f816c5a5d16758be34be785a (diff)
downloadvolse-hubzilla-c92e6ed929ddb12a3020eecf419a30b680fe4240.tar.gz
volse-hubzilla-c92e6ed929ddb12a3020eecf419a30b680fe4240.tar.bz2
volse-hubzilla-c92e6ed929ddb12a3020eecf419a30b680fe4240.zip
avoid race condition on delete checked items
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 382a52644..61c80702e 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -120,9 +120,9 @@ tinyMCE.init({
checkedstr = $(this).val();
}
});
- $.post('item', { dropitems: checkedstr });
- window.location.reload();
-
+ $.post('item', { dropitems: checkedstr }, function(data) {
+ window.location.reload();
+ });
}
function jotGetLink() {