mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
add notification to subscribe dialog when multiple feeds are detected
This commit is contained in:
@@ -978,6 +978,10 @@ class Feeds extends Handler_Protected {
|
||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">";
|
||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"addfeed\">";
|
||||
|
||||
print "<div id='fadd_multiple_notify' style='display : none'>";
|
||||
print_notice("Provided URL is a HTML page referencing multiple feeds, please select required feed from the dropdown menu below.");
|
||||
print "<p></div>";
|
||||
|
||||
print "<div class=\"dlgSec\">".__("Feed or site URL")."</div>";
|
||||
print "<div class=\"dlgSecCont\">";
|
||||
|
||||
|
||||
@@ -854,6 +854,8 @@ function quickAddFeed() {
|
||||
case 4:
|
||||
feeds = rc['feeds'];
|
||||
|
||||
Element.show("fadd_multiple_notify");
|
||||
|
||||
var select = dijit.byId("feedDlg_feedContainerSelect");
|
||||
|
||||
while (select.getOptions().length > 0)
|
||||
|
||||
Reference in New Issue
Block a user