From 95ff8cd93f709fc53510a0ebd85e369ea6994576 Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Wed, 18 May 2016 18:52:25 +0200 Subject: [PATCH] - fixed broken "graph" data for system --- js/app/ui/system_graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/ui/system_graph.js b/js/app/ui/system_graph.js index 1a845c4e..134c266b 100644 --- a/js/app/ui/system_graph.js +++ b/js/app/ui/system_graph.js @@ -150,7 +150,7 @@ define([ dataType: 'json' }).done(function(systemGraphsData){ - if(systemGraphsData.length > 0){ + if( !$.isEmptyObject(systemGraphsData) ){ // create new (hidden) module container var moduleElement = $('
', { class: [config.moduleClass, config.systemGraphModuleClass].join(' '),