Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Double balise for 'submit' in $.fn.editable.defaults cause double send of the form #144

Closed
SylvainPeigne opened this issue Jun 29, 2015 · 1 comment

Comments

@SylvainPeigne
Copy link

SylvainPeigne commented Jun 29, 2015

When we enter as option something like :

submit: '<br/><button class="btn btn-success" type="submit" >Ok</button>',

The form is ajaxed two times.

When we delete the <br/>, everthing work fine.

@NicolasCARPi
Copy link
Owner

Hello,

I cannot reproduce the behavior you describe. You can use the submitcssclass option to style your buttons (not yet released feature!). See demo for example of button styling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants