]>
Commit | Line | Data |
---|---|---|
41a7a066 AD |
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 |