js: remove several commented out functions

master
Andrew Dolgov 12 years ago
parent 5b55e9e25c
commit 14501332e0

@ -534,26 +534,6 @@ function viewLimitChanged() {
return viewCurrentFeed('');
}
/* function adjustArticleScore(id, score) {
try {
var pr = prompt(__("Assign score to article:"), score);
if (pr != undefined) {
var query = "?op=rpc&method=setScore&id=" + id + "&score=" + pr;
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
viewCurrentFeed();
} });
}
} catch (e) {
exception_error("adjustArticleScore", e);
}
} */
function rescoreCurrentFeed() {
var actid = getActiveFeedId();

@ -1475,41 +1475,6 @@ function show_labels_in_headlines(transport) {
}
}
/* function toggleHeadlineActions() {
try {
var e = $("headlineActionsBody");
var p = $("headlineActionsDrop");
if (!Element.visible(e)) {
Element.show(e);
} else {
Element.hide(e);
}
e.scrollTop = 0;
e.style.left = (p.offsetLeft + 1) + "px";
e.style.top = (p.offsetTop + p.offsetHeight + 2) + "px";
} catch (e) {
exception_error("toggleHeadlineActions", e);
}
} */
/* function publishWithNote(id, def_note) {
try {
if (!def_note) def_note = '';
var note = prompt(__("Please enter a note for this article:"), def_note);
if (note != undefined) {
togglePub(id, false, false, note);
}
} catch (e) {
exception_error("publishWithNote", e);
}
} */
function dismissArticle(id) {
try {
var elem = $("RROW-" + id);

Loading…
Cancel
Save