[Commits] svn commit: 9217

Subversion Database Process svn at thor.atrc.utoronto.ca
Mon Feb 1 20:15:11 UTC 2010


------------------------------------------------------------------------
r9217 | justin.obara at utoronto.ca | 2010-02-01 15:15:11 -0500 (Mon, 01 Feb 2010) | 1 line
Changed paths:
   M /fluid/engage/fluid-engage-core/trunk/components/exhibition/js/ExhibitionView.js

ENGAGE-241: Noticed that an error was being thrown by a call to fluid.transform when model.cataloguePreview didn't exist. To solve this I placed all of the code within the setupSubcomponents into a conditional that only tries to prep the model for the navList and init exhibitionPreview when a there is preview data and the catalogueSize is greater than 0. This could probably do with another round of refactoring when the new data is implace.
------------------------------------------------------------------------



More information about the Commits mailing list