Dialog: Remove deprecated disableSelection() usage.

This commit is contained in:
Jörn Zaefferer 2012-11-09 17:26:52 +01:00
parent 4632780435
commit b6cefc797e

View File

@ -186,10 +186,6 @@ $.widget("ui.dialog", {
}); });
} }
// TODO use andSelf()
// TODO get rid of this?! why do we need to disable selection anyway?
uiDialogTitlebar.find( "*" ).add( uiDialogTitlebar ).disableSelection();
// TODO use button? or at least a button element, so that SPACE works? // TODO use button? or at least a button element, so that SPACE works?
this._hoverable( uiDialogTitlebarClose ); this._hoverable( uiDialogTitlebarClose );
this._focusable( uiDialogTitlebarClose ); this._focusable( uiDialogTitlebarClose );