Automatically close the dump list after posting all posts.

This commit is contained in:
Zixaphir 2013-05-10 16:11:05 -07:00
parent aa6f1e1495
commit b2e1048857
4 changed files with 4 additions and 1 deletions

View File

@ -7482,6 +7482,7 @@
index = QR.posts.indexOf(this);
if (QR.posts.length === 1) {
new QR.post(true);
$.rmClass(QR.nodes.el, 'dump');
} else if (this === QR.selected) {
(QR.posts[index - 1] || QR.posts[index + 1]).select();
}

View File

@ -7472,6 +7472,7 @@
index = QR.posts.indexOf(this);
if (QR.posts.length === 1) {
new QR.post(true);
$.rmClass(QR.nodes.el, 'dump');
} else if (this === QR.selected) {
(QR.posts[index - 1] || QR.posts[index + 1]).select();
}

View File

@ -7468,6 +7468,7 @@
index = QR.posts.indexOf(this);
if (QR.posts.length === 1) {
new QR.post(true);
$.rmClass(QR.nodes.el, 'dump');
} else if (this === QR.selected) {
(QR.posts[index - 1] || QR.posts[index + 1]).select();
}

View File

@ -541,6 +541,7 @@ QR =
index = QR.posts.indexOf @
if QR.posts.length is 1
new QR.post true
$.rmClass QR.nodes.el, 'dump'
else if @ is QR.selected
(QR.posts[index-1] or QR.posts[index+1]).select()
QR.posts.splice index, 1
@ -1172,7 +1173,6 @@ QR =
QR.error err
return
QR.cleanNotifications()
h1 = $ 'h1', tmpDoc