stable

Clone or download

Read-only

Fix "null" error when no image upload

Part of story #18336 add support of markdown Introduced by a0ed87fa219948f67ecaf3d86ad5b928c3c8bb31 How to test: - set up a tracker without an "Attachment" field (file field), so that image upload is not possible. - Edit an artifact from this tracker. You should not have an error like "Uncaught TypeError: Cannot read property 'onFormatChange' of null" - You should be able to submit a comment in Text or Markdown or HTML. Change-Id: I771a7e1c596c10fe9edfa810bbd6009975b2bf71

Modified Files

Name
M plugins/tracker/scripts/artifact/edit-view.ts +1 −3 Go to diff View file
M src/scripts/lib/ckeditor-image-upload-form/src/ckeditor-image-upload-form.d.ts +1 −1 Go to diff View file