Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest version of sir-trevor-js master branch and fix bindFormSubmit #19

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

Marthyn
Copy link

@Marthyn Marthyn commented Oct 30, 2013

Add new javascript and css

Also made a fix SirTrevor.bindFormSubmit 2e4125f
The formbound variable is set to the SirTrevor object. This means when you have multiple instances the formBound attribute will be set as true on the first time and won't bind onFormSubmit to the other forms. This broke our application and therefor we made this fix. Maybe this is not the best solution, but it works for us. A formBound on the Editor instance would maybe work?

@Marthyn
Copy link
Author

Marthyn commented Oct 30, 2013

I just saw problems when adding new types of content, i will make views in ruby for that and update this pull request.

@Marthyn Marthyn closed this Oct 30, 2013
@Marthyn Marthyn reopened this Oct 30, 2013
@Marthyn
Copy link
Author

Marthyn commented Oct 30, 2013

Finished new blocks, can be merged.

@adtaylor
Copy link

adtaylor commented May 2, 2014

Is there any reason why this pull-request is dead? It would be great to have the latest version of Sir-Trevor in here.

@Marthyn
Copy link
Author

Marthyn commented Aug 6, 2014

I haven't worked on it because we don't use it anymore. Also i never got a reaction to this PR unfortunately. I did really like the code and wouldn't mind keeping this up if there's a need for that.

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.

2 participants