From 38bc9dad228444fc38c2cef75f7edd5039477257 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Aug 2014 18:11:32 +0400 Subject: [PATCH] mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones --- js/tt-rss.js | 1 + plugins/mail/init.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/tt-rss.js b/js/tt-rss.js index 7d6f22f8..c6414515 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -231,6 +231,7 @@ function init() { dojo.require("dijit.form.Select"); dojo.require("dijit.form.SimpleTextarea"); dojo.require("dijit.form.TextBox"); + dojo.require("dijit.form.ComboBox"); dojo.require("dijit.form.ValidationTextBox"); dojo.require("dijit.InlineEditBox"); dojo.require("dijit.layout.AccordionContainer"); diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 4b1989f5..e1da315c 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -145,7 +145,7 @@ class Mail extends Plugin { style=\"width : 30em;\" name=\"destination\" id=\"emailArticleDlg_destination\">"; */ - print_select("destination", "", $addresslist, 'style="width: 30em" dojoType="dijit.form.FilteringSelect"'); + print_select("destination", "", $addresslist, 'style="width: 30em" dojoType="dijit.form.ComboBox"'); /* print "
"; */ -- 2.39.5