mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-14 10:07:28 +02:00
add confirmation to Mark as read action (closes #96)
This commit is contained in:
parent
fe6c1902f1
commit
fce2483891
@ -555,3 +555,12 @@ function parse_runtime_info(elem) {
|
||||
param = param.nextSibling;
|
||||
}
|
||||
}
|
||||
|
||||
function catchupCurrentFeed() {
|
||||
|
||||
var fn = getFeedName(getActiveFeedId());
|
||||
|
||||
if (confirm("Mark all articles in " + fn + " as read?")) {
|
||||
return viewCurrentFeed(0, 'MarkAllRead')
|
||||
}
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ window.onload = init;
|
||||
onclick="viewCurrentFeed(0, 'ForceUpdate')" value="Update">
|
||||
|
||||
<input class="button" type="submit"
|
||||
onclick="viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
|
||||
onclick="catchupCurrentFeed()" value="Mark as read">
|
||||
|
||||
</td>
|
||||
<td align="right">
|
||||
|
Loading…
Reference in New Issue
Block a user