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