if multiple articles are selected, do not reset active article / selection on scroll if auto catchup is enabled

This commit is contained in:
Andrew Dolgov 2013-07-09 12:34:57 +04:00
parent 8cf72d075b
commit 03304fda54
1 changed files with 1 additions and 0 deletions

View File

@ -1274,6 +1274,7 @@ function headlines_scroll_handler(e) {
// set topmost child in the buffer as active // set topmost child in the buffer as active
if (getInitParam("cdm_auto_catchup") == 1 && if (getInitParam("cdm_auto_catchup") == 1 &&
getSelectedArticleIds2().length <= 1 &&
(!isCdmMode() || getInitParam("cdm_expanded"))) { (!isCdmMode() || getInitParam("cdm_expanded"))) {
var rows = $$("#headlines-frame > div[id*=RROW]"); var rows = $$("#headlines-frame > div[id*=RROW]");