From eecf92183fd79c6ce4bbee8589689a7b96caf254 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 10 Aug 2016 21:59:31 +0100 Subject: [PATCH] Update to new catalogue format --- editor/js/ui/palette-editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/palette-editor.js b/editor/js/ui/palette-editor.js index 7fa849e91..855dc5a6a 100644 --- a/editor/js/ui/palette-editor.js +++ b/editor/js/ui/palette-editor.js @@ -304,9 +304,9 @@ RED.palette.editor = (function() { function initInstallTab() { $("#palette-module-install-shade").show(); - + $.getJSON('http://catalogue.nodered.org/catalogue.json',function(v) { - loadedList = v; + loadedList = v.modules; searchInput.searchBox('count',loadedList.length); loadedList.forEach(function(m) { m.index = [m.id];