mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes
This commit is contained in:
@@ -67,19 +67,6 @@ var ajaxify = ajaxify || {};
|
||||
window.history[!quiet ? 'pushState' : 'replaceState']({
|
||||
url: url + hash
|
||||
}, url, RELATIVE_PATH + '/' + url + hash);
|
||||
|
||||
$.ajax(RELATIVE_PATH + '/plugins/fireHook', {
|
||||
type: 'PUT',
|
||||
data: {
|
||||
_csrf: $('#csrf_token').val(),
|
||||
hook: 'page.load',
|
||||
args: {
|
||||
template: tpl_url,
|
||||
url: url,
|
||||
uid: app.uid
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
translator.load(tpl_url);
|
||||
|
||||
Reference in New Issue
Block a user