Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
c8acf2c6
Commit
c8acf2c6
authored
Apr 14, 2014
by
Robert Lyon
Committed by
Gerrit Code Review
Apr 14, 2014
Browse files
Merge "Entry count updates on deletion of journal entry (Bug #1287922)"
parents
df3f8132
ac1f8f08
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/view/index.php
View file @
c8acf2c6
...
...
@@ -86,6 +86,10 @@ function delete_success(form, data) {
}
addElementClass('postdescription_' + data.id, 'hidden');
addElementClass('posttitle_' + data.id, '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);
}
EOF;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment