bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 572 forks source link

textarea not behaving as expected with ok_button and cancel_button #480

Open bcavileer opened 9 years ago

bcavileer commented 9 years ago

I hope this is not a duplicate issue. I've been searching but I haven't seen one exactly like this.

The normal :as => :input field seems to behave correctly. The :as => :textarea however isn't allowing the cancel button to work.

I tried digging into the JavaScript and watching DOM events using firebug, but I'm way over my head =!

Please see my example: https://best-in-place-textarea.herokuapp.com/

Code for example: https://github.com/bcavileer/best-in-place-textarea

bcavileer commented 9 years ago

This is not a bug on master. 3.0.3 however appears to be bugged.

jchli commented 9 years ago

:+1: when might the next release be cut?