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
On Jan 20, 2007, at 12:30 PM, Adam Craven wrote: > 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 > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sean Cribbs > Sent: 20 January 2007 17:19 > To: radiant@lists.radiantcms.org > Subject: Re: [Radiant] JavaScript error in the admin interface > > 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 wrote: >> 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 >> >> >> _______________________________________________ >> Radiant mailing list >> Post: Radiant@lists.radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> > > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant