Javascript on the admin page

Javascript on the admin page doesn’t work. ‘More’, ‘Filter’, ‘Available
Tags’ don’t render required fields and pop windows. (Mozilla/5.0 (X11;
U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070721 Firefox/2.0.0.2). In
the error console I have got the message: ‘Element.toggle is not a
function’ for …/admin/pages/edit/1. I have tried to do the same in
konqueror and in IE (in WMWare). I get the same javascript behavior. Can
somebody give me an advice what should I do?

Oleg Shelomov wrote:

Javascript on the admin page doesn’t work. ‘More’, ‘Filter’, ‘Available
Tags’ don’t render required fields and pop windows. (Mozilla/5.0 (X11;
U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070721 Firefox/2.0.0.2). In
the error console I have got the message: ‘Element.toggle is not a
function’ for …/admin/pages/edit/1. I have tried to do the same in
konqueror and in IE (in WMWare). I get the same javascript behavior. Can
somebody give me an advice what should I do?

Oleg,

If this is an existing Radiant project, make sure to run rake
radiant:update when you install a new gem. The Radiant admin JS has
been refactored by Mislav in 0.6.4 to be compatible with Prototype 1.6.

Sean

Sean C. wrote:

If this is an existing Radiant project, make sure to run rake
radiant:update when you install a new gem. The Radiant admin JS has
been refactored by Mislav in 0.6.4 to be compatible with Prototype 1.6.

I have updated gem from 0.9.2 to 1.0.1 by gem update --system.
Next step I run rake radiant:update and get:
install -c -m 0755
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.4/lib/tasks/…/generators/instance/templates/instance_generate
script/generate.
The result is no change. There are no ‘More’, ‘Filter’, ‘Available
Tags’ and adding new tabs. What is wrong in my actions?

I have reinstalled my web site, recreated databases and the new project
works with javascript correctly. There are no questions.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs