Changeset 515 in tmcsimulator for trunk/webapps/einotebook/scripts/Incident.js


Ignore:
Timestamp:
11/08/2019 11:49:12 AM (6 years ago)
Author:
jdalbey
Message:

Event.js, Incident.js, Incidents.js, LoadEvents?.js modified to implement ticket #158: color coding incidents.

File:
1 edited

Legend:

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

    r468 r515  
    66 * @param summary {String} 
    77 */ 
    8 function Incident(time, number, title, summary) 
     8function Incident(time, number, title, summary, color) 
    99{        
    1010        //========== public read-only members ==========// 
     
    1313        this.title = title; 
    1414        this.summary = summary; 
    15         this.expanded = true; 
     15    this.color = color;  /* hex color code for background of this incident */ 
    1616         
    1717        //========== public methods ==========// 
Note: See TracChangeset for help on using the changeset viewer.