From a18a7c99608a517503f632b84cbabc3005d52e5f Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Wed, 3 Jun 2015 07:49:11 -0700 Subject: [PATCH] [Layout] Fix comment Change inaccurate comment based on feedback from code review for WTD-1182. --- platform/features/layout/src/LayoutController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/features/layout/src/LayoutController.js b/platform/features/layout/src/LayoutController.js index f3d44110b5..9212f900b3 100644 --- a/platform/features/layout/src/LayoutController.js +++ b/platform/features/layout/src/LayoutController.js @@ -69,7 +69,8 @@ define( function lookupPanels(ids) { var configuration = $scope.configuration || {}; - // Ensure ids is array-like + // ids is read from model.composition and may be undefined; + // fall back to an array if that occurs ids = ids || []; // Pull panel positions from configuration