Forum: Radiant CMS JavaScript error in the admin interface

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Adam Craven (Guest)
on 2007-01-20 19:17
(Received via mailing list)
Hello,

Got a slight problem. It doesn't break Radiant but we're trying to
encourage
the use of RadiantCMS for our clients and the error causes difficulties.

When I edit a page in the admin interface and click the javascript
'more'
button to reach the slug/breadcrumb.

I'm hit, figuratively, with this:

URL bar reads: javascript:Element.toggle('extended-metadata',
'more-extended-metadata', 'less-extended-metadata')

Page opens up with this: [object HTMLDivElement].

If I click the back button, I return to the previous page and the slug
is
open. So I can still edit the slug.

Any ideas what's going on?

Kind regards,

Adam Craven
Sean C. (Guest)
on 2007-01-20 19:20
(Received via mailing list)
This has been fixed in the mental branch.  We could merge the change
back to trunk if necessary, or you can use the mental branch.

Sean
Adam Craven (Guest)
on 2007-01-20 19:31
(Received via mailing list)
Thanks Sean,

For clients it would be better to have the most stable version. If the
merge
back to trunk is a small and painless one, I'd appreciate that very
much!

Adam
Jamie W. (Guest)
on 2007-01-20 20:40
(Received via mailing list)
I do not remember the exact file, but the necessary change is as
simple as making 'a href="javascript:someFunction()..." into 'a
href="#" onclick="someFunction()". There is a patch available on Trac
if you look around.
-jamie
This topic is locked and can not be replied to.