From: <ga...@us...> - 2010-07-27 23:35:13
|
Revision: 4621 http://jaffa.svn.sourceforge.net/jaffa/?rev=4621&view=rev Author: gautamj Date: 2010-07-27 23:35:07 +0000 (Tue, 27 Jul 2010) Log Message: ----------- Corrected the flexBean check to also include dynaClass.dynaProperties Modified Paths: -------------- trunk/JaffaRIA/source/html/js/extjs/jaffa/maintenance/FlexFieldsPanel.js Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/maintenance/FlexFieldsPanel.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/maintenance/FlexFieldsPanel.js 2010-07-27 22:25:50 UTC (rev 4620) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/maintenance/FlexFieldsPanel.js 2010-07-27 23:35:07 UTC (rev 4621) @@ -12,8 +12,8 @@ var flexInfo; if (config.flexBean) { - // flexBean should contain dynaClass.name - if (config.flexBean.dynaClass && config.flexBean.dynaClass.name) + // flexBean should contain dynaClass.name and dynaClass.dynaProperties + if (config.flexBean.dynaClass && config.flexBean.dynaClass.name && config.flexBean.dynaClass.dynaProperties && config.flexBean.dynaClass.dynaProperties.length > 0) flexInfo = [{source: config.flexBean.dynaClass.name}]; } else if (config.metaClass) { // metaClass should contain flexInfo @@ -66,8 +66,8 @@ var flexInfo; if (config.flexBean) { - // flexBean should contain dynaClass.name - if (config.flexBean.dynaClass && config.flexBean.dynaClass.name) + // flexBean should contain dynaClass.name and dynaClass.dynaProperties + if (config.flexBean.dynaClass && config.flexBean.dynaClass.name && config.flexBean.dynaClass.dynaProperties && config.flexBean.dynaClass.dynaProperties.length > 0) flexInfo = [{source: config.flexBean.dynaClass.name}]; } else if (config.metaClass) { // metaClass should contain flexInfo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |