Ignore:
Timestamp:
04/29/14 11:20:01 (11 years ago)
Author:
tbretz
Message:
Added missing disable of submit button. Adapted debug output to changes in php.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.js

    r17719 r17721  
    170170function disableControls(disabled)
    171171{
     172    $('#submit').prop('disabled', disabled);
    172173    $('#event').prop('disabled', disabled);
    173174    $('#pixel').prop('disabled', disabled);
     
    376377        debug("");
    377378        debug("Execution times:");
    378         debug("TimeJS="+(rc.timeJs*1000).toFixed(2)+"ms");
     379        debug("Time Javascripts = "+(rc.timeJs[0]*1000).toFixed(2)+","+(rc.timeJs[1]*1000).toFixed(2)+","+(rc.timeJs[2]*1000).toFixed(2)+ " [ms]");
    379380    }
    380381
     
    399400        document.getElementById("value").value = canv.dataAbs[rc.event.pixel];
    400401
    401     debug("TimePhp="+(rc.timePhp*1000).toFixed(1)+"ms");
     402    debug("Total time = "+(rc.timePhp*1000).toFixed(1)+" ms");
     403    debug("Peak memory = "+rc.memory+" MiB");
    402404
    403405    if (Array.isArray(rc.waveform))
Note: See TracChangeset for help on using the changeset viewer.