You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
424 B
JavaScript
22 lines
424 B
JavaScript
12 years ago
|
function clearArticleAccessKeys() {
|
||
|
|
||
|
var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
|
||
|
|
||
|
if (ok) {
|
||
|
notify_progress("Clearing URLs...");
|
||
|
|
||
|
var query = "?op=pluginhandler&plugin=share&method=clearArticleKeys";
|
||
|
|
||
|
new Ajax.Request("backend.php", {
|
||
|
parameters: query,
|
||
|
onComplete: function(transport) {
|
||
|
notify_info("Shared URLs cleared.");
|
||
|
} });
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
|
||
|
|