diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index a98e96f46f4..bc8357c089d 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -102,6 +102,11 @@ $.widget( "ui.button", { }) .bind( "blur.button", function() { $( this ).removeClass( focusClass ); + }) + .bind( "click.button", function( event ) { + if ( options.disabled ) { + event.stopImmediatePropagation(); + } }); if ( toggleButton ) {