Changeset 15411 for trunk


Ignore:
Timestamp:
04/23/13 20:04:32 (12 years ago)
Author:
tbretz
Message:
Removed obsolete FAD_CONTROL/STATISTICS2 and fixed a problem with the list processing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Main.js

    r15378 r15411  
    753753         "FAD_CONTROL/START_RUN",
    754754         "FAD_CONTROL/STATISTICS1",
    755          "FAD_CONTROL/STATISTICS2",
     755 //        "FAD_CONTROL/STATISTICS2",
    756756         "FAD_CONTROL/STATS",
    757757         "FAD_CONTROL/STATUS",
     
    801801    function check(name)
    802802    {
    803         if (list.every(function(el){return el[0]!=name;}))
     803        if (list.every(function(el){return el==undefined || el[0]!=name;}))
    804804            throw new Error("Subscription to '"+name+"' not available.");
    805805    }
Note: See TracChangeset for help on using the changeset viewer.