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

Change subject: Correct the license URL in the media dialog
......................................................................


Correct the license URL in the media dialog

The license url read the response object instead of the response
value itself.

Bug: T89544
Change-Id: Ibb22e47e0097e012279e21211e1c7e2f1545f2b1
---
M modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js 
b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
index 58f7954..7293b6f 100644
--- a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
+++ b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js
@@ -419,7 +419,7 @@
                                value: ve.getProp( metadata, 
'LicenseShortName', 'value' ),
                                data: {},
                                view: {
-                                       href: ve.getProp( metadata, 
'LicenseUrl' ),
+                                       href: ve.getProp( metadata, 
'LicenseUrl', 'value' ),
                                        icon: this.getLicenseIcon( ve.getProp( 
metadata, 'LicenseShortName', 'value' ) )
                                }
                        },

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb22e47e0097e012279e21211e1c7e2f1545f2b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to