mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-05 13:20:55 +02:00
660a1bbe01
* call App.handlerpcjson() automatically on json request (if possible) * show net/log indicators in prefs
16 lines
357 B
JavaScript
16 lines
357 B
JavaScript
/* global Plugins, Notify, xhr, App */
|
|
|
|
Plugins.Share = {
|
|
clearKeys: function() {
|
|
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
|
|
Notify.progress("Clearing URLs...");
|
|
|
|
xhr.post("backend.php", App.getPhArgs("share", "clearArticleKeys"), (reply) => {
|
|
Notify.info(reply);
|
|
});
|
|
}
|
|
|
|
return false;
|
|
}
|
|
};
|