New: Many UI Updates and Performance Tweaks

This commit is contained in:
Qstick
2019-04-12 23:25:58 -04:00
parent b24a40797f
commit 6275737ced
389 changed files with 7961 additions and 5635 deletions

View File

@@ -1,5 +1,6 @@
import $ from 'jquery';
import { batchActions } from 'redux-batched-actions';
import createAjaxRequest from 'Utilities/createAjaxRequest';
import { set, removeItem } from '../baseActions';
function createRemoveItemHandler(section, url) {
@@ -16,7 +17,7 @@ function createRemoveItemHandler(section, url) {
method: 'DELETE'
};
const promise = $.ajax(ajaxOptions);
const promise = createAjaxRequest(ajaxOptions).request;
promise.done((data) => {
dispatch(batchActions([