Open ipeychev opened 11 years ago
Note: this issue was imported, but it was originally created by Robert-Frampton...
Currently this is how the LAUT will change the handler property of the buttons in a toolbar.
toolbarChildren.push( { handler: function(event) { someFunction(); }, icon: 'add-coworker', } );
toolbarChildren.push( { on: { click: function(event) { someFunction(); }}, icon: 'add-coworker', } );
It should be formatted as.
toolbarChildren.push( { on: { click: function(event) { someFunction(); } }, icon: 'add-coworker', } );
Note: this issue was imported, but it was originally created by Robert-Frampton...
Currently this is how the LAUT will change the handler property of the buttons in a toolbar.
It should be formatted as.