Skip to content

Commit

Permalink
modified not to reload timeline when user submit a comment on timelin…
Browse files Browse the repository at this point in the history
…e. (fixes #3004)
  • Loading branch information
kashiwasan committed Apr 20, 2012
1 parent 5e4cad3 commit 126fce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/js/jquery.timeline.js
Expand Up @@ -34,7 +34,9 @@
{
$('#comment-textarea-'+id).val('');
$timelineLoader.hide();
timelineAllLoad();
$('#timeline-post-comment-form-'+id).show();
$postData = $('#timelineCommentTemplate').tmpl(data.data);
$('#timeline-post-comment-form-'+id).before($postData);
}
else
{
Expand Down

0 comments on commit 126fce4

Please sign in to comment.