blob: 29c9aeaf83c8875ae490371b29ed487a626839a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* global Plugins, Notify, xhrPost */
Plugins.Share = {
clearKeys: function() {
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
Notify.progress("Clearing URLs...");
xhrPost("backend.php", {op: "pluginhandler", plugin: "share", method: "clearArticleKeys"}, (transport) => {
Notify.info(transport.responseText);
});
}
return false;
}
};
|