Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.

git-svn-id: https://develop.svn.wordpress.org/trunk@18650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave
2011-09-07 19:48:25 +00:00
parent e9a78f4ad7
commit 3dbb79d859
3 changed files with 4 additions and 4 deletions

View File

@@ -473,8 +473,6 @@ commentReply = {
show : function(xml) {
var t = this, r, c, id, bg, pid;
t.revert();
if ( typeof(xml) == 'string' ) {
t.error({'responseText': xml});
return false;
@@ -486,6 +484,8 @@ commentReply = {
return false;
}
t.revert();
r = r.responses[0];
c = r.data;
id = '#comment-' + r.id;