mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Update dependencies
This commit is contained in:
12
framework/core/js/admin/dist/app.js
vendored
12
framework/core/js/admin/dist/app.js
vendored
@@ -17101,13 +17101,11 @@ System.register('flarum/App', ['flarum/utils/ItemList', 'flarum/components/Alert
|
||||
// and clients support, then we'll send it as a POST request with the
|
||||
// intended method specified in the X-HTTP-Method-Override header.
|
||||
if (options.method !== 'GET' && options.method !== 'POST') {
|
||||
(function () {
|
||||
var method = options.method;
|
||||
extend(options, 'config', function (result, xhr) {
|
||||
return xhr.setRequestHeader('X-HTTP-Method-Override', method);
|
||||
});
|
||||
options.method = 'POST';
|
||||
})();
|
||||
var method = options.method;
|
||||
extend(options, 'config', function (result, xhr) {
|
||||
return xhr.setRequestHeader('X-HTTP-Method-Override', method);
|
||||
});
|
||||
options.method = 'POST';
|
||||
}
|
||||
|
||||
// When we deserialize JSON data, if for some reason the server has provided
|
||||
|
Reference in New Issue
Block a user