[imp] javascript issue in dimp

jessian jessian at usp.br
Thu May 29 22:02:05 UTC 2008


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" } })});

So the questions are:

Where in the world are to be put the missing colon?
Am I creating wrong javascript code with this?
"parent.location.href="/horde/services/prefs.php?app=imp"

thanx a lot

electronic greetings
Jessian



More information about the imp mailing list