Commit c8acf2c6 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Entry count updates on deletion of journal entry (Bug #1287922)"

parents df3f8132 ac1f8f08
......@@ -86,6 +86,10 @@ function delete_success(form, data) {
addElementClass('postdescription_' +, 'hidden');
addElementClass('posttitle_' +, 'hidden');
var results = \$j('#blogpost_pagination div.results').html();
var oldcount = parseInt(results);
var newcount = oldcount - 1;
\$j('#blogpost_pagination div.results').html(results.replace(oldcount, newcount));
progressbarUpdate('blogpost', true);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment