From 8986f4d6f62ca0a1476eb301995a6ba001c1b310 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Fri, 14 Nov 2014 23:31:31 +0000 Subject: [PATCH] Fixed error on core-list content change. --- resources/report/html/loot-plugin-editor.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {