Merge "Use Surface#setDisabled instead of deprecated #disable"

This commit is contained in:
jenkins-bot 2016-12-10 21:39:59 +00:00 committed by Gerrit Code Review
commit 495d87ffc0

View file

@ -440,7 +440,7 @@ ve.init.mw.DesktopArticleTarget.prototype.activate = function ( dataPromise ) {
{ type: 'paragraph' }, { type: '/paragraph' },
{ type: 'internalList' }, { type: '/internalList' }
] ) );
surface.disable();
surface.setDisabled( true );
// setSurface creates dummy toolbar
this.dummyToolbar = true;
this.setSurface( surface );