]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
added an option not to show the hit rate of disabled channels
authorCahit Ugur <c.ugur@gsi.de>
Fri, 8 May 2015 09:03:21 +0000 (11:03 +0200)
committerCahit Ugur <c.ugur@gsi.de>
Fri, 8 May 2015 09:03:21 +0000 (11:03 +0200)
web/htdocs/tdc/tdc.htm

index bade332ee150cb408460ff4e2751cb7ce23ff539..827102f83e84fec0fdf17b0066265d5fe5911a27 100644 (file)
@@ -138,7 +138,7 @@ function update(data) {
     for(j=0;j<b.length-1;j++) {
       if(isShown[j]) {
         enabled = (enableGroup[j][Math.floor((i-2)/32)]&1<<(i-2)%32)?"checked":"";
-        if(showhitrate && enabled == 0) 
+        if(showhitrate == 0 && enabled == 0) 
           val = 0x0;
         else {
           if(differences) {