Santhosh has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/350797 )

Change subject: CX2: Unbreak section translation unit
......................................................................

CX2: Unbreak section translation unit

The addLink method was missing and causes the instance creation
failure. Added a dummy method for now.

Change-Id: Ia5636473f76558ab1d8f1f09216dca4db08b4d88
---
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/97/350797/1

diff --git a/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js 
b/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js
index b82ab59..b575eed 100644
--- a/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js
+++ b/modules/ui/translationunits/mw.cx.ui.SectionTranslationUnit.js
@@ -156,5 +156,8 @@
        }
 };
 
+mw.cx.ui.SectionTranslationUnit.prototype.addLink = function () {
+};
+
 /* Register */
 mw.cx.ui.translationUnitFactory.register( mw.cx.ui.SectionTranslationUnit );

-- 
To view, visit https://gerrit.wikimedia.org/r/350797
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5636473f76558ab1d8f1f09216dca4db08b4d88
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to