1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update to new catalogue format

This commit is contained in:
Nick O'Leary 2016-08-10 21:59:31 +01:00
parent 11656382a7
commit eecf92183f

View File

@ -304,9 +304,9 @@ RED.palette.editor = (function() {
function initInstallTab() { function initInstallTab() {
$("#palette-module-install-shade").show(); $("#palette-module-install-shade").show();
$.getJSON('http://catalogue.nodered.org/catalogue.json',function(v) { $.getJSON('http://catalogue.nodered.org/catalogue.json',function(v) {
loadedList = v; loadedList = v.modules;
searchInput.searchBox('count',loadedList.length); searchInput.searchBox('count',loadedList.length);
loadedList.forEach(function(m) { loadedList.forEach(function(m) {
m.index = [m.id]; m.index = [m.id];