mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
prefs: fix published shared URL dialog
This commit is contained in:
@@ -387,17 +387,19 @@ const CommonDialogs = {
|
||||
Notify.close();
|
||||
|
||||
} catch (e) {
|
||||
this.Error.report(e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
});
|
||||
},
|
||||
generatedFeed: function(feed, is_cat, rss_url) {
|
||||
generatedFeed: function(feed, is_cat, rss_url, feed_title) {
|
||||
|
||||
Notify.progress("Loading, please wait...", true);
|
||||
|
||||
xhrJson("backend.php", {op: "pref-feeds", method: "getFeedKey", id: feed, is_cat: is_cat}, (reply) => {
|
||||
try {
|
||||
const feed_title = Feeds.getName(feed, is_cat);
|
||||
if (!feed_title && typeof Feeds != "undefined")
|
||||
feed_title = Feeds.getName(feed, is_cat);
|
||||
|
||||
const secret_url = rss_url + "&key=" + encodeURIComponent(reply.link);
|
||||
|
||||
const dialog = new fox.SingleUseDialog({
|
||||
@@ -428,7 +430,7 @@ const CommonDialogs = {
|
||||
Notify.close();
|
||||
|
||||
} catch (e) {
|
||||
this.Error.report(e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user