From 7b34452bfe68426a8624488c0e263a32633a0c56 Mon Sep 17 00:00:00 2001 From: pkupczyk <pkupczyk> Date: Fri, 14 Dec 2012 17:26:31 +0000 Subject: [PATCH] Basynthec Browser bugfix SVN: 27936 --- .../1/as/webapps/basynthec/browser/basynthec-browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js index d7f7bd0e558..6fcaf0e7e7e 100644 --- a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js +++ b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js @@ -577,7 +577,8 @@ AppModel.prototype.initializeOd600WithPhenotypesAndPredictionsModel = function(c } AppModel.prototype.od600DataSets = function() { - return this.dataSetsByType["OD600"]; + var ds = this.dataSetsByType["OD600"]; + return ds ? ds : []; } /** -- GitLab