Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Conversation

davereid
Copy link
Member

@davereid davereid commented Aug 6, 2014

No description provided.

@davereid
Copy link
Member Author

davereid commented Aug 6, 2014

Somehow the embed form is skipping the second 'embed options' step of the form. Trying to figure out why.

@cs-shadow
Copy link
Member

@davereid Same thing was happening with me when I was trying this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears this two can't be in main submit. It is also nicer if we separate diff buttons into diff functions.

Not sure what to do with errors handling, though (redundant code in both funcitons). submitForm() is not even called if validation fails so it can't be in there. Not sure if there is any suggested pattern how to handle this in AJAX. Would be nice to look into this but I'm unable ATM.

Selecting, settings, embeding now works again.

@davereid
Copy link
Member Author

I'm just going to merge this for now. Obviously something more is wrong with Travis.CI and let's fix that separately rather than hold this up.

@davereid davereid merged commit cf0f710 into 8.x-1.x Aug 13, 2014
@davereid davereid deleted the 2316481-form-state-object branch August 13, 2014 19:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants