nate-strauser / meteor-x-editable-bootstrap

Smart package for x-editable in place editor
80 stars 51 forks source link

Submit button does not work in some cases #30

Open guilhermedecampo opened 9 years ago

guilhermedecampo commented 9 years ago

Hey @nate-strauser,

Submit button does not work in some cases is a known issue as you can see here https://github.com/vitalets/x-editable/issues/105.

Would be cool if you add this work-around in your package.

Change line 103 on boostrap-editable.js

from this.$form.submit($.proxy(this.submit, this)); to this.$form.find('.editable-submit').click($.proxy(this.submit, this));

If it's possible I can do a pull-request =)

infoweb-internet-solutions commented 9 years ago

I can confirm that this solves my issues with the form submit and it would be great if this was fixed

sinsubj commented 9 years ago

Thank you! It fixed my issue.