From ea10b935aa75b7c2544f2442658f5c2273f04c6b Mon Sep 17 00:00:00 2001 From: jrmartin Date: Thu, 2 Nov 2017 17:29:29 -0700 Subject: [PATCH] fix glitch with setViews --- src/main/webapp/js/common/GEPPETTO.ViewController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/common/GEPPETTO.ViewController.js b/src/main/webapp/js/common/GEPPETTO.ViewController.js index a27647cd1..7e1a655e0 100644 --- a/src/main/webapp/js/common/GEPPETTO.ViewController.js +++ b/src/main/webapp/js/common/GEPPETTO.ViewController.js @@ -89,7 +89,7 @@ define(function(require) } } - if(component !== undefined && component !== null && typeof component.setView == 'function'){ + else if(component !== undefined && component !== null && typeof component.setView == 'function'){ // if the interface is exposed, set view component.setView(componentViews[cv]); }