Closed robframpton closed 11 years ago
Currently in trunk, using the handler property on the children of aui-toolbars does not work.
toolbarChildren.push( { icon: 'add', label: 'button', handler: function(event) { someFunction(); } } );
Instead we are using the onClick event.
toolbarChildren.push( { icon: 'add', label: 'button', on: { click: function(event) { someFunction(); } } } );
When upgrading this is a hassle to change, especially if the toolbar has many children. If the UT could handle these changes it would save the developer a lot of time and possible confusion.
Currently in trunk, using the handler property on the children of aui-toolbars does not work.
Instead we are using the onClick event.
When upgrading this is a hassle to change, especially if the toolbar has many children. If the UT could handle these changes it would save the developer a lot of time and possible confusion.