mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:05:56 +00:00
implement sharing articles by unique url
This commit is contained in:
18
prefs.js
18
prefs.js
@@ -1590,6 +1590,24 @@ function clearFeedAccessKeys() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function clearArticleAccessKeys() {
|
||||
|
||||
var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
|
||||
|
||||
if (ok) {
|
||||
notify_progress("Clearing URLs...");
|
||||
|
||||
var query = "?op=rpc&subop=clearArticleKeys";
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
onComplete: function(transport) {
|
||||
notify_info("Shared URLs cleared.");
|
||||
} });
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
function resetFeedOrder() {
|
||||
try {
|
||||
notify_progress("Loading, please wait...");
|
||||
|
||||
Reference in New Issue
Block a user