1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 08:01:28 +00:00

allow forwarding multiple articles by email

This commit is contained in:
Andrew Dolgov
2010-11-06 11:13:07 +03:00
parent 31a53903e6
commit f72a7b6696
4 changed files with 51 additions and 35 deletions

View File

@@ -2265,6 +2265,17 @@ function publishWithNote(id, def_note) {
function emailArticle(id) {
try {
if (!id) {
var ids = getSelectedArticleIds2();
if (ids.length == 0) {
alert(__("No articles are selected."));
return;
}
id = ids.toString();
}
displayDlg('emailArticle', id,
function () {
document.forms['article_email_form'].destination.focus();
@@ -2280,7 +2291,7 @@ function emailArticle(id) {
}
}
function emailArticleDo(id) {
function emailArticleDo() {
try {
var f = document.forms['article_email_form'];