jenkins-bot has submitted this change and it was merged.

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
(cherry picked from commit 308cdea21198c71df0c3a880264d184d2edeb171)
---
M modules/tools/ext.cx.tools.images.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  KartikMistry: Looks good to me, approved
  Amire80: Looks good to me, but someone else must approve
  jenkins-bot: Verified



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/230101
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic427e91928d95502a71e089b58f4c1c1673766e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: wmf/1.26wmf17
Gerrit-Owner: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to