Fwd: change javascript default from jquery back to prototype


#1

Hello all,

recently I installed the jrails plugin which changed the
javascript_include_tag :defaults to include the jquery libraries…

The jquery did no good, so I want the prototype back, but i can’t manage
to
get the :defaults to include its libraries to me…

any tips on that are greatly appreciated!!

thanks and cheers!


gallois
aka Felipe G.
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib


#2

Remove the vendor/plugin/jrails directory and remove the jquery
scripts in public/javascripts/

That should be all you need todo…


#3

already did it, no luck

On Wed, Jan 7, 2009 at 14:44, Freddy A. removed_email_address@domain.invalid
wrote:

Remove the vendor/plugin/jrails directory and remove the jquery
scripts in public/javascripts/

That should be all you need todo…


gallois
aka Felipe G.
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib


#4

check this variable in console:

ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES


#5

the variable was ok, i just overwritten it with itself and restarted the
server and now it is working…

thank you!!

cheers

On Wed, Jan 7, 2009 at 16:33, Dingding Ye removed_email_address@domain.invalid wrote:

gallois
aka Felipe G.
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib


gallois
aka Felipe G.
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib