HomePhabricator

Do not initialize LexemeHeader widget when lexeme page is not editable.
494db727dad7Unpublished

Authored by Jakob_WMDE on Apr 4 2018, 1:18 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Do not initialize LexemeHeader widget when lexeme page is not editable.

Instead of letting LexemeHeader intitialize itself, it is injected into
lexemeview by the ControllerViewFactory. This allows the initializing
callback to be overridden by the ReadModeViewFactory.

Bug: T190921
Depends-On: Ica2a13d2f09af7027fe8dcdb5c5a07129407759f
Change-Id: Ib02a64c667d9c476c50401642b7d7dc3a78ebf56

Details

Committed
Jakob_WMDEApr 5 2018, 11:36 AM
ChangeId
Ib02a64c667d9c476c50401642b7d7dc3a78ebf56

Commit No Longer Exists

This commit no longer exists in the repository.