diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js index af0e4749b4..d4d46263b2 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js @@ -809,7 +809,7 @@ ve.ui.MWMediaDialog.prototype.getLicenseIcon = function ( license ) { * @param {ve.ui.MWMediaResultWidget} item Chosen item */ ve.ui.MWMediaDialog.prototype.onSearchResultsChoose = function ( item ) { - this.chooseImageInfo( item.getData ); + this.chooseImageInfo( item.getData() ); }; /**