Merge "Revert "Revert "Set href attribute of newly inserted image to image title"""

This commit is contained in:
jenkins-bot 2014-03-01 01:38:43 +00:00 committed by Gerrit Code Review
commit 0aa43650b7

View file

@ -183,7 +183,8 @@ ve.ui.MWMediaInsertDialog.prototype.teardown = function ( data ) {
'attributes': {
'type': 'thumb',
'align': 'default',
'href': info.descriptionurl,
//'href': info.descriptionurl,
'href': './' + this.item.title,
'src': info.thumburl,
'width': thumbwidth,
'height': thumbheight,