-
Ext User
Ext.Toolbar IE error
Receive an unknown runtime error in internet explorer IE 6 and 7 (fine in Firefox) when creating an Ext.Toolbar object, eg (partial code)
Ext JS Library 1.0.1
--
Ext.onReady(function(){
Ext.QuickTips.init();
var tb = new Ext.Toolbar('toolbar');
// add toolbar buttons later
// handler function defined elsewhere
});
--
.. and/or:
--
// handler function defined elsewhere
Ext.onReady(function(){
var tb = {
init : function(){
// alert('toolbar init');
var toolbar = new Ext.Toolbar('toolbar');
toolbar.add(
new Ext.Toolbar.Button({
text: 'New',
handler: tbButtonClick0,
cls: 'x-btn-text-icon',
icon: '/path/to/image.png',
tooltip: '<b>Quick Tip</b><br/>New<br>'
})
);
Ext.QuickTips.init();
tb.init();
});
--
I suspect I am adding things to onReady that should be defined elsewhere, or in a different order. Any suggestions?
-
Sencha User
Did you check for extra commas? Can you run the menu example? Have you downloaded the 1.0.1a zip?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules