Skip to content

Conversation

westonruter
Copy link
Contributor

If server-side sanitization modifies a value when saving, make sure that this modified value gets applied to the JS client and results in a non-dirty state.

(Note there a possibility of a race condition for widgets since they currently rely on a separate update-widget Ajax request to sanitize their values.)

@westonruter westonruter force-pushed the feature/apply-server-sanitized-settings-to-js-client-on-save branch from 324cb10 to 6209a5c Compare December 17, 2015 07:41
@westonruter westonruter force-pushed the feature/apply-server-sanitized-settings-to-js-client-on-save branch from 6209a5c to beb67ec Compare December 17, 2015 07:43
@westonruter westonruter force-pushed the feature/apply-server-sanitized-settings-to-js-client-on-save branch from beb67ec to 79c7d6e Compare December 17, 2015 07:44
westonruter added a commit that referenced this pull request Dec 17, 2015
…s-to-js-client-on-save

Apply server-sanitized settings to JS client on saved
@westonruter westonruter merged commit 5026321 into master Dec 17, 2015
@westonruter westonruter deleted the feature/apply-server-sanitized-settings-to-js-client-on-save branch December 17, 2015 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant