livevalidation icon indicating copy to clipboard operation
livevalidation copied to clipboard

BUG: JavaScript in html

Open jpascal opened this issue 15 years ago • 1 comments

I found bug.

(Rails 2.3.8)

Need change in file form_helper.rb on line 45 -- ( js_code.blank? ? '' : "" ) ++ ( js_code.blank? ? '' : content_tag("script",js_code) )

jpascal avatar Jun 13 '10 12:06 jpascal

This bug affects me too, I changed the code to just put out:

content_tag('script', js_code)

and it seemed to do the job.

fffej avatar Jun 23 '10 08:06 fffej