class - Simply creating a toolbar in Ext JS -
so have panel top , bottom toolbar created within dockeditems config:
dockeditems: [ ext.create('am.view.toptoolbar',{}), // //this line alone breaks app { //toolbars xtype: 'toolbar', dock: 'bottom', items: [ { text: 'about', itemid: 'about' }, '-', { text: 'legal', itemid: 'legal' }, ...
the code works fine in ff, breaks in ie9. think has syntax of create statement, cannot find solution on forums.
here's toptoolbar class:
ext.define('am.view.toptoolbar', { extend: 'ext.toolbar.toolbar', alias: 'widget.toptoolbar', defaults: { arrowcls: '' }, //removing black arrow toolbar items items: [ { text : 'tools', menu : { items: [ //rest of toolbar items , menus
all file structures correct , working.
namespace 'am'
application breaks in internet explorer-have not tried in chrome or safari
i error
: script16389: unspecified error. ext-all.js, line 38 character 51878
any ideas?
cheers!
Comments
Post a Comment