diff --git a/samples/toolbarconfigurator/js/fulltoolbareditor.js b/samples/toolbarconfigurator/js/fulltoolbareditor.js index ec61298396b..2b9f15f7590 100644 --- a/samples/toolbarconfigurator/js/fulltoolbareditor.js +++ b/samples/toolbarconfigurator/js/fulltoolbareditor.js @@ -324,6 +324,8 @@ window.ToolbarConfigurator = {}; $button.addClass( 'button-a' ); + $button.setAttribute( 'type', 'button' ); + if ( typeof cssClasses == 'string' ) { cssClasses = cssClasses.split( ' ' );