mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 00:35:58 +00:00
fix break when calling catchupFeedInGroup() in grouped vfeed mode on a feed with a single quote in a name
This commit is contained in:
16
tt-rss.js
16
tt-rss.js
@@ -718,12 +718,20 @@ function catchupCurrentFeed() {
|
||||
}
|
||||
}
|
||||
|
||||
function catchupFeedInGroup(id, title) {
|
||||
function catchupFeedInGroup(id) {
|
||||
|
||||
var str = __("Mark all articles in %s as read?").replace("%s", title);
|
||||
try {
|
||||
|
||||
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
|
||||
return viewCurrentFeed('MarkAllReadGR:' + id)
|
||||
var title = getFeedName(id);
|
||||
|
||||
var str = __("Mark all articles in %s as read?").replace("%s", title);
|
||||
|
||||
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
|
||||
return viewCurrentFeed('MarkAllReadGR:' + id)
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("catchupFeedInGroup", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user