Santhosh has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/352108 )
Change subject: CX2: Build sub translation units for restored section ...................................................................... CX2: Build sub translation units for restored section Follow up: Id11f3de91562cab80e52bc00f06b2f41e74188bd Bug: T162110 Change-Id: I65791a959e625fd28a1b7548bfaad42cea8ea223 --- M modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/08/352108/1 diff --git a/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js b/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js index 2626b33..f2fe9e8 100644 --- a/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js +++ b/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js @@ -113,6 +113,9 @@ // Adapt is usually an async operation. The model emits 'adapt' event when it is // ready, which is then handled in this.onModelAdapted. this.model.adapt(); + } else { + // Restored section from stored translation + this.buildSubTranslationUnits( this.model ); } if ( this.isEditable() ) { -- To view, visit https://gerrit.wikimedia.org/r/352108 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I65791a959e625fd28a1b7548bfaad42cea8ea223 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits