From 6eae58b4143dd2808772721a65b396d81ccb301b Mon Sep 17 00:00:00 2001 From: colemanw Date: Sun, 19 Jul 2015 16:13:08 -0400 Subject: [PATCH] Set toolbarconfigurator button "type" attribute --- samples/toolbarconfigurator/js/fulltoolbareditor.js | 2 ++ 1 file changed, 2 insertions(+) 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( ' ' );