mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
b8f96bb512
(Followup on If17b50cc4a39993) Make sure initialHash is set before checking and changing its value in the MWImageModel method. If a user chooses a brand new image to insert into the document (an insertion rather than update) then the initial hash is empty, and changing its values will fail with an error message. Bug: 72492 Change-Id: I3f9ea74891cc0ab77a07fa5d4e9cbc591f5b93e6 |
||
---|---|---|
.. | ||
ve.dm.MWImageModel.js | ||
ve.dm.MWParameterModel.js | ||
ve.dm.MWReferenceModel.js | ||
ve.dm.MWTemplateModel.js | ||
ve.dm.MWTemplatePlaceholderModel.js | ||
ve.dm.MWTemplateSpecModel.js | ||
ve.dm.MWTransclusionContentModel.js | ||
ve.dm.MWTransclusionModel.js | ||
ve.dm.MWTransclusionPartModel.js |