Ruby on Rails Sunday, July 27, 2014

Sampath Weerasinghe wrote in post #1153678:
> Does the javascript console ( F12 ) show any errors ?

When I used code in application.js as per javascript load order like as

follow:

//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require bootstrap
//= require_tree .

I got error in javascript console like:

" Uncaught Error: jquery-ujs has already been loaded! ".

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5054decafdec91c5af5cfd1bb3088276%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment