Page MenuHomePhabricator

ve.{ui,ce}.Surface#{enable,disable} should implement OO.ui.Widget#setDisabled
Closed, ResolvedPublic1 Estimated Story Points

Description

A ve.ui.Surface is an OOUI widget, but it doesn't override setDisabled correctly. Instead, you have to call disable and enable on it.

Event Timeline

Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope added a project: VisualEditor.
Catrope subscribed.
Jdforrester-WMF set Security to None.

ve.ui.Surface is an OOUI element, not a widget.

Change 259274 had a related patch set uploaded (by Esanders):
[DEPRECATING CHANGE] ve.ui.Surface: Make an OO.ui.Widget and implement #setDisabled

https://gerrit.wikimedia.org/r/259274

Change 259274 merged by jenkins-bot:
[DEPRECATING CHANGE] ve.ui.Surface: Make an OO.ui.Widget and implement #setDisabled

https://gerrit.wikimedia.org/r/259274