vitalets / x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
http://vitalets.github.io/x-editable
MIT License
6.51k stars 1.73k forks source link

Impossible to add bootstrap modal as a confirmation of editing. #856

Open MelnikDima opened 8 years ago

MelnikDima commented 8 years ago

Here is an example: It is working $('#name2').editable({ validate: function (x) { if (!confirm("Are you sure you wish to proceed?")) { return "Canceled"; } } });

But it is impossible to add nice styled bootstrap modal as a confirmation instead of the build-in confirm() system browser popup.

KaitaniLabs commented 8 years ago

+1. Even something like Jquery Confirm would be a nice integration as well.