Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/108036
Change subject: Add the lang attribute to the translation module constructor
......................................................................
Add the lang attribute to the translation module constructor
Change-Id: If7bce04400103577e51eaa170d60ea1eb0ff2d11
---
M modules/translation/ext.cx.translation.js
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/36/108036/1
diff --git a/modules/translation/ext.cx.translation.js
b/modules/translation/ext.cx.translation.js
index 8716d99..7459ac9 100644
--- a/modules/translation/ext.cx.translation.js
+++ b/modules/translation/ext.cx.translation.js
@@ -19,6 +19,7 @@
function ContentTranslationEditor( element, options ) {
this.$container = $( element );
this.options = $.extend( true, {}, $.fn.cxTranslation.defaults,
options );
+ this.lang = '';
this.init();
}
--
To view, visit https://gerrit.wikimedia.org/r/108036
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7bce04400103577e51eaa170d60ea1eb0ff2d11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits