Changeset 540 in tmcsimulator for trunk/webapps/einotebook/scripts/LoadEvents.js


Ignore:
Timestamp:
12/06/2019 03:05:37 PM (6 years ago)
Author:
jdalbey
Message:

Add roles page to EINotebook, version 1. Modified index.html, Event.js, LoadEvents?.js, notebook.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/einotebook/scripts/LoadEvents.js

    r538 r540  
    7474                        break; 
    7575                    case "TELEPHONE":  
    76                         telProp = new Evaluation("TELEPHONE CONVERSATION",  
     76                        telProp = new Property("TELEPHONE CONVERSATION",  
    7777                                 parseTelephone(currEvt.childNodes[child]) );   
    78                         evalarray.push(telProp); 
     78                        proparray.push(telProp); 
    7979                        break; 
    8080                    case "CHP_RADIO":  
     
    156156        if (element.childNodes[child].localName != undefined) 
    157157        { 
     158            // IF line is INSTRUCTOR THEN display only the Role field 
    158159            if (element.childNodes[child].localName == "INSTRUCTOR") 
    159160            { 
    160161                result.push(element.childNodes[child].attributes["Role"].value); 
    161162            } 
    162             else 
     163            else  // Display the name (e.g., STUDENT) 
    163164            { 
    164165                result.push(element.childNodes[child].localName);    
Note: See TracChangeset for help on using the changeset viewer.