MWSaveDialog: Use .moveCursorToEnd() instead of ve.selectEnd()

ve.selectEnd() removed by I44f43f312c78 in VE core.
Depends on Ia63e6c6a0 in OOjs UI.

Change-Id: Ic7ed8a24abd8288d68cf89839a553a569081e8c7
This commit is contained in:
Roan Kattouw 2015-08-20 11:20:41 -07:00 committed by Jforrester
parent ac4a615679
commit 6eee029159

View file

@ -174,8 +174,7 @@ ve.ui.MWSaveDialog.prototype.swapPanel = function ( panel ) {
this.actions.setMode( 'save' );
// HACK: FF needs *another* defer
setTimeout( function () {
// FIXME we need to add features to OO.ui.TextInputWidget so we don't need to access .$input
ve.selectEnd( dialog.editSummaryInput.$input[ 0 ] );
dialog.editSummaryInput.moveCursorToEnd();
} );
break;
case 'conflict':