update notify_* calls to use Notify
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
function clearArticleAccessKeys() {
|
||||
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
|
||||
notify_progress("Clearing URLs...");
|
||||
Notify.progress("Clearing URLs...");
|
||||
|
||||
const query = { op: "pluginhandler", plugin: "share", method: "clearArticleKeys" };
|
||||
|
||||
xhrPost("backend.php", query, () => {
|
||||
notify_info("Shared URLs cleared.");
|
||||
Notify.info("Shared URLs cleared.");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user