mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
e454b81f4d
When the user changes an image to another in the media dialog, we already have API info that includes the original dimensions, media type and other information that is required for the Scalable object to compute the new current dimensions. We can use this info if it exists instead of asking for another API call. Also make sure to update the filename when we change an image in the dialog. Bug: T87267 Change-Id: I9d86959b99b3f3dfed92255a9dba9a8fdd352dcb |
||
---|---|---|
.. | ||
ce | ||
dm | ||
i18n | ||
init | ||
tests | ||
ui |