1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

Update dependencies

This commit is contained in:
Toby Zerner
2017-07-08 21:50:54 +09:30
parent 01b56eecdb
commit 94a8eaec64
2 changed files with 51 additions and 63 deletions

12
js/admin/dist/app.js vendored
View File

@@ -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