Skip to content

Commit

Permalink
Merge pull request #201 from colemanw/patch-1
Browse files Browse the repository at this point in the history
Set toolbarconfigurator button "type" attribute to avoid form submission.
  • Loading branch information
Reinmar committed Jul 27, 2015
2 parents 58140c4 + 6eae58b commit b05dd4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/toolbarconfigurator/js/fulltoolbareditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ window.ToolbarConfigurator = {};

$button.addClass( 'button-a' );

$button.setAttribute( 'type', 'button' );

if ( typeof cssClasses == 'string' ) {
cssClasses = cssClasses.split( ' ' );

Expand Down

0 comments on commit b05dd4d

Please sign in to comment.