showArticleInHeadlines(id);
+ if (db) {
+ db.execute("UPDATE articles SET unread = 0 WHERE id = ?", [id]);
+ }
+
var reply = transport.responseXML.firstChild.firstChild;
} else {
enableHotkeys();
showArticleInHeadlines(id);
+ if (db) {
+ db.execute("UPDATE articles SET unread = 0 WHERE id = ?", [id]);
+ }
+
render_article("FIXME");
return false;
mark_img.alt = __("Unstar article");
query = query + "&mark=1";
+ if (db) {
+ db.execute("UPDATE articles SET marked = 1 WHERE id = ?", [id]);
+ }
+
} else {
//mark_img.src = "images/mark_unset.png";
mark_img.alt = __("Please wait...");
mark_img.src = mark_img.src.replace("mark_set", "mark_unset");
mark_img.alt = __("Star article");
}
+
+ if (db) {
+ db.execute("UPDATE articles SET marked = 0 WHERE id = ?", [id]);
+ }
+
}
if (!client_only) {