Changeset 8277 for mauRepo/MolesManager
- Timestamp:
- 20/04/12 16:18:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/src/MolesManager/static/js/cedaObservation.js
r8275 r8277 101 101 if (typeof coObs.relatedParty[loopVal].role !='undefined'){ 102 102 103 if (typeof coObs.relatedParty[loopVal].role.name !='undefined' && coObs.relatedParty[loopVal].role.name !=null ){103 if (typeof coObs.relatedParty[loopVal].role.name !='undefined' && coObs.relatedParty[loopVal].role.name !=null && coObs.relatedParty[loopVal].party.length > 0){ 104 104 //console.log(coObs.relatedParty[loopVal].role.name,loopVal) 105 105 for (loopInner=0; loopInner<coObs.relatedParty[loopVal].party.length; loopInner++){ … … 118 118 } 119 119 } 120 120 console.log(loopVal) 121 console.log(coObs.relatedParty[loopVal].party[0]) 122 console.log(coObs.relatedParty[loopVal].party[0].name) 121 123 details[coObs.relatedParty[loopVal].party[0].name] = innerDetails 122 124
Note: See TracChangeset
for help on using the changeset viewer.