From 5847cbacb5f5f8a59bff280fa69c032bb3571b0d Mon Sep 17 00:00:00 2001 From: Michael Kruglos Date: Tue, 7 Mar 2017 00:56:44 +0200 Subject: [PATCH] Fix for crash given schema {"enum":[null]} --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.js b/src/core.js index b98241638..27ef6581a 100644 --- a/src/core.js +++ b/src/core.js @@ -348,7 +348,7 @@ JSONEditor.prototype = { if(!schema.hasOwnProperty(i)) continue; if(schema[i] && typeof schema[i] === "object" && Array.isArray(schema[i])) { for(var j=0; j