werein / x-editable-rails

Edit fields easily with X-Editable helper

Home Page:https://wereinhq.com/guides/x-editable-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong regular expression on view helpers.

eakmotion opened this issue · comments

in this line

css_list = options.delete(:class).to_s.split(/s+/).unshift('editable')

it should be

css_list = options.delete(:class).to_s.split(/\s+/).unshift('editable')

Please check it, Thanks.

@joelvh can you confirm? Thanks

Yup, looks like the backslash went missing. This should fix it. Thanks!

On Friday, December 20, 2013, Jiri Kolarik wrote:

@joelvh https://github.com/joelvh can you confirm? Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-30999946
.

~Joel