|
|
@ -210,13 +210,13 @@ function render_article(article) {
|
|
|
|
dijit.byId("headlines-wrap-inner").addChild(
|
|
|
|
dijit.byId("headlines-wrap-inner").addChild(
|
|
|
|
dijit.byId("content-insert"));
|
|
|
|
dijit.byId("content-insert"));
|
|
|
|
|
|
|
|
|
|
|
|
var c = $("content-insert");
|
|
|
|
var c = dijit.byId("content-insert");
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
c.scrollTop = 0;
|
|
|
|
c.domNode.scrollTop = 0;
|
|
|
|
} catch (e) { };
|
|
|
|
} catch (e) { };
|
|
|
|
|
|
|
|
|
|
|
|
c.innerHTML = article;
|
|
|
|
c.attr('content', article);
|
|
|
|
|
|
|
|
|
|
|
|
correctHeadlinesOffset(getActiveArticleId());
|
|
|
|
correctHeadlinesOffset(getActiveArticleId());
|
|
|
|
|
|
|
|
|
|
|
@ -2073,7 +2073,7 @@ function postClicked(event, id) {
|
|
|
|
if (!event.ctrlKey) {
|
|
|
|
if (!event.ctrlKey) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
zoomToArticle(event, id);
|
|
|
|
postOpenInNewTab(event, id);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -2087,6 +2087,11 @@ function hlOpenInNewTab(event, id) {
|
|
|
|
zoomToArticle(event, id);
|
|
|
|
zoomToArticle(event, id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function postOpenInNewTab(event, id) {
|
|
|
|
|
|
|
|
closeArticlePanel(id);
|
|
|
|
|
|
|
|
zoomToArticle(event, id);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function hlClicked(event, id) {
|
|
|
|
function hlClicked(event, id) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
|
|