diff --git a/bin/Editor.js b/bin/Editor.js index 884129be54ec0d4ce7f29c1c93b929baa483a276..c83bddc12856ae01ed692c01ce4446f2caf3fbcb 100644 --- a/bin/Editor.js +++ b/bin/Editor.js @@ -594,6 +594,13 @@ define('package/quiqqer/ckeditor4/bin/Editor', [ WidthInput.value = fileData.image_width; } + if (!fileData.image_height) { + HeightInput.value = ''; + } + + if (!fileData.image_width) { + WidthInput.value = ''; + } }, { project: data.project, fileid : data.id