PDA

View Full Version : Error with implementing toolbar menus [SOLVED]



Jamie Avins
22 Feb 2007, 7:47 AM
Strange problem with the toolbar menus. They look fine, but when I mouse over the items I'm getting "li.getRegion().adjust is not a function" errors. I'm not sure where it's coming from. Any ideas on what I'm missing that would cause this?

Animal
22 Feb 2007, 7:55 AM
You need ext-bridge-yui.js included in your page after ext-all.js

Jamie Avins
22 Feb 2007, 8:15 AM
Good Lord, I had a typo in the ext-bridge include...

Thanks for the help.

Animal
22 Feb 2007, 8:36 AM
Not as embarassing as my mistake.

For Ext 1.0 I started using yui-utilities.js. But I included the base YAHOO files AFTER ext-bridge-yui which wiped the additions out. Took me a while to see that! :roll: