]> git.wh0rd.org - tt-rss.git/blame - plugins/share/share_prefs.js
remove ok = confirm() thing
[tt-rss.git] / plugins / share / share_prefs.js
CommitLineData
41a7a066 1function clearArticleAccessKeys() {
da1a3c2c 2 if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
41a7a066
AD
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