]> git.wh0rd.org Git - tt-rss.git/blob - plugins/share/share_prefs.js
af_comics: Allow subscribing to GoComics URLs via page (only this time, *actually...
[tt-rss.git] / plugins / share / share_prefs.js
1 function clearArticleAccessKeys() {
2
3         var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
4
5         if (ok) {
6                 notify_progress("Clearing URLs...");
7
8                 var query = "?op=pluginhandler&plugin=share&method=clearArticleKeys";
9
10                 new Ajax.Request("backend.php", {
11                         parameters: query,
12                         onComplete: function(transport) {
13                                 notify_info("Shared URLs cleared.");
14                         } });
15         }
16
17         return false;
18 }
19
20
21