Hi all, solved... but WTF, how a comma can screw 24 hours of your life.
In js_config.php I configured the buttons I wanted to see in the toolbar and left behind one too much comma (for IE) ... ... ... {tool:'measure', name:'Measure'}, {tool:'reload', name:'Refresh Map', run:'PM.Map.clearInfo'}, //{tool:'poi', name:'Add Point of Interest'}, //{tool:'separator4', dimension: 1}, //{tool:'help', name:'Help', run:'PM.Dlg.openHelp'} //{tool:'transparency', name:'Transparency', run:'PM.Plugin.Transparency.openTransparencyDlg'}, ] ... ... ... can you see the evil comma? Found the hint here http://www.delphifaq.com/faq/javascript/extjs/f3476.shtml first google result for "Error 'undefined' is null or not an object" ;) cheers -- Giovanni -- On Mon, 2010-09-06 at 22:18 +0100, Giovanni Manghi wrote: > Hi all, > > I developed an application with pmapper 4 (http://wwf.faunalia.pt/) and > I just discovered that it does not load under IE(8). > > Firefox, Chrome and Safari all work just fine. > > This is the message returned by IE > > Message: 'undefined' is null or not an object > Line: 41 > Char: 352 > Code: 0 > URI: http://wwf.faunalia.pt/javascript/pm_cjs.js > > > if I turn on the IE script debugger and I reload the site, the debugger > points to this piece of code > > if(tool.match(/^space/i))... > 'undefined' is null or not an object pm_cjs.js, line 41 character 352 > > > then if the continue button is clicked, the debugger finds no other > problems, closes, and the sites loads correctly. > > I have noticed a similar problem with one of the live demos in the > pmapper site (Yet another layout - plainlayout3). > > > I'll appreciate any hint on how to solve this, unfortunately it is > pretty urgent. > > > cheers > > -- Giovanni -- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users