Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/230074
Change subject: Use .attr() to set the resource attribute of image, while adapting ...................................................................... Use .attr() to set the resource attribute of image, while adapting Bug: T108302 Change-Id: Ic427e91928d95502a71e089b58f4c1c1673766e0 --- M modules/tools/ext.cx.tools.images.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/74/230074/1 diff --git a/modules/tools/ext.cx.tools.images.js b/modules/tools/ext.cx.tools.images.js index 10c597d..08a7190 100644 --- a/modules/tools/ext.cx.tools.images.js +++ b/modules/tools/ext.cx.tools.images.js @@ -113,7 +113,7 @@ if ( resource ) { resource = resource.replace( /(\.\/)*(.+)(:)/g, '$1' + translatedNamespace + '$3' ); - $image.prop( { + $image.attr( { resource: resource, id: 'cx' + $sourceImage.prop( 'id' ) } ); -- To view, visit https://gerrit.wikimedia.org/r/230074 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic427e91928d95502a71e089b58f4c1c1673766e0 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