Fixed: Add payload to createSaveHandler

pull/6/head
Qstick 6 years ago
parent 713f643b1d
commit 18fd7d452b

@ -8,7 +8,7 @@ function createSaveHandler(section, url) {
dispatch(set({ section, isSaving: true })); dispatch(set({ section, isSaving: true }));
const state = getSectionState(getState(), section, true); const state = getSectionState(getState(), section, true);
const saveData = Object.assign({}, state.item, state.pendingChanges); const saveData = Object.assign({}, state.item, state.pendingChanges, payload);
const promise = $.ajax({ const promise = $.ajax({
url, url,

Loading…
Cancel
Save