Merge "Fix: focus method should be called on jQuery object not on ve.ui.TextInputWidget object itself."

This commit is contained in:
jenkins-bot 2013-03-28 20:11:37 +00:00 committed by Gerrit Code Review
commit 9c9675f778

View file

@ -58,7 +58,7 @@ ve.ui.InputLabelWidget.static.tagName = 'label';
*/
ve.ui.InputLabelWidget.prototype.onClick = function () {
if ( !this.disabled && this.input ) {
this.input.focus();
this.input.$.focus();
}
return false;
};