diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html index 86865b57..be6e7849 100644 --- a/resources/report/html/loot-plugin-editor.html +++ b/resources/report/html/loot-plugin-editor.html @@ -262,8 +262,10 @@ loot-editor-close oldValue.editor = this.readFromEditor(oldValue); } - /* Set the new editor data. */ - this.setEditorData(newValue); + if (newValue) { + /* Set the new editor data. */ + this.setEditorData(newValue); + } }, readFromEditor: function(oldData) {