Quoting jessian <[EMAIL PROTECTED]>:

> hello all
>
> glad to be back on the list
>
> our new installation of horde/imp/dimp needs three customized
> links that were working on RC3 but now are not
>
> that's the error message fired by Firebug add-on of Firefox browser:
>
> missing : after property id
>
> and that's the accused javascript code of the customized menu items:
>
> document.observe("dom:loaded", function()
> {DimpCore.clickObserveHandler({ d: $('menucorreio'), function() {
> parent.location.href="/horde/imp/" } });DimpCore.clickObserveHandler({
> d: $('tabcorreio'), function() { parent.location.href="/horde/imp/" }
> });DimpCore.clickObserveHandler({ d: $('menuturba'), function() {
> parent.location.href="/horde/turba/" } });DimpCore.clickObserveHandler({
> d: $('tabturba'), function() { parent.location.href="/horde/turba/" }
> });DimpCore.clickObserveHandler({ d: $('menuoptions'), function() {
> parent.location.href="/horde/services/prefs.php?app=imp" }
> });DimpCore.clickObserveHandler({ d: $('taboptions'), function() {
> parent.location.href="/horde/services/prefs.php?app=imp" } })});

If you are using DimpCore.clickObserveHandler, the format is:
DimpCore.clickObserveHandler({ d: $('foo'), f: function() { foo(); } });

Looks like you are missing the 'f:' before your function declarations.

michael

-- 
___________________________________
Michael Slusarz [EMAIL PROTECTED]

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to