|
|
@ -168,7 +168,12 @@ define(["dojo/_base/declare"], function (declare) {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (App.isCombinedMode()) {
|
|
|
|
if (App.isCombinedMode()) {
|
|
|
|
|
|
|
|
|
|
|
|
if (Article.getActive() != id) {
|
|
|
|
if (event.altKey && !in_body) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Article.openInNewWindow(id);
|
|
|
|
|
|
|
|
Headlines.toggleUnread(id, 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (Article.getActive() != id) {
|
|
|
|
|
|
|
|
|
|
|
|
Headlines.select('none');
|
|
|
|
Headlines.select('none');
|
|
|
|
Article.setActive(id);
|
|
|
|
Article.setActive(id);
|
|
|
@ -184,16 +189,21 @@ define(["dojo/_base/declare"], function (declare) {
|
|
|
|
|
|
|
|
|
|
|
|
} else if (in_body) {
|
|
|
|
} else if (in_body) {
|
|
|
|
Headlines.toggleUnread(id, 0);
|
|
|
|
Headlines.toggleUnread(id, 0);
|
|
|
|
} else {
|
|
|
|
} else { /* !in body */
|
|
|
|
Article.openInNewWindow(id);
|
|
|
|
Article.openInNewWindow(id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return in_body;
|
|
|
|
return in_body;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if (event.altKey) {
|
|
|
|
|
|
|
|
Article.openInNewWindow(id);
|
|
|
|
|
|
|
|
Headlines.toggleUnread(id, 0);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Headlines.select('none');
|
|
|
|
Headlines.select('none');
|
|
|
|
Article.view(id);
|
|
|
|
Article.view(id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|