Changeset 8253
- Timestamp:
- 18/04/12 15:11:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/src/MolesManager/static/js/cedaObservation.js
r8249 r8253 37 37 38 38 } 39 39 40 function publicationDetails(coObs){ 40 41 var pubDetails = {}; … … 86 87 return timeArray 87 88 } 89 88 90 function getRelatedParties(coObs){ 89 91 var relatedPartyDict = {}; … … 157 159 citationString += ' ' + Object.keys(rps['cl_publisher'])[0] +'.'; 158 160 } 159 else {161 else { 160 162 citationString += ' Centre for Environmental Data Archival.'; 161 163 } … … 285 287 ready(function () 286 288 { 287 289 288 290 //---------------------------------------------- 289 291 //----- Initializes the necessary widgets ------ … … 331 333 //---------- Loads the widgets values ---------- 332 334 //---------------------------------------------- 333 334 335 varcoObs = dojo.fromJson(json);336 337 if (coObs){335 console.log('here1') 336 var json = dojo.byId('coObs_id').value; 337 coObs = dojo.fromJson(json); 338 console.log('here2') 339 if (coObs != ''){ 338 340 var ids = getIDs(coObs); 339 341 console.log(coObs) … … 379 381 var docLink_id = new dojo.html.set(dojo.byId("docLink_id"),docLinkObj(ids['moles2url'])); 380 382 381 383 } 382 384 }); 383 385 });
Note: See TracChangeset
for help on using the changeset viewer.