1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is these two digits?

Discussion in 'Tomato Firmware' started by alfred, Jun 23, 2012.

  1. alfred

    alfred Networkin' Nut Member

    Real-Time charts, click the right bottom refreshing spin, you will get two digits, anyone can tell us what is that?
     

    Attached Files:

  2. azdps

    azdps LI Guru Member

    That looks like a bug. Which firmware version are you using?
     
  3. koitsu

    koitsu Network Guru Member

    Agreed -- it does look like a bug, but it could also be some very strange browser incompatibility. Do you see this with all the browser you use (please try more than one)?

    There could be some HTML text which is "rolling over" into the section near the spinner. The HTML I get for the Real-time Bandwidth page that's around the area of the spinner is:

    HTML:
    <br>
    <br>
    </td></tr>
    <tr><td id='footer' colspan=2>
    <span id='warnwd' style='display:none'>Warning: 10 second session timeout, restarting...&nbsp;</span>
    <span id='dtime'></span>
    <img src='spin.gif' id='refresh-spinner' onclick='javascript:debugTime=1'>
    </td></tr>
    
    I would like to think the numbers you see are what correlate with CSS's id selector called "dtime". Hard to say; I would really need to see the full HTML output when the problem happens to try and figure out what may be printing it. Remember: given how HTML works (especially with multiple divs), sometimes text in one area or an unexpected area can "overflow" into another (re: what I said about "rolling over"). Firefox addons like Firebug make tracking this sort of stuff down a lot easier.
     
  4. mvsgeek

    mvsgeek Addicted to LI Member

    Chrome "view page source" shows this :

    n = (new Date()).getTime();
    if (this.timeExpect) {
    if (debugTime) E('dtime').innerHTML = (this.timeExpect - n) + ' ' + ((this.timeExpect + 2000) - n);
    this.timeExpect += 2000;
    this.refreshTime = MAX(this.timeExpect - n, 500);
    }
    else {
    this.timeExpect = n + 2000;


    Coincidentally (or not?) the 2 numbers displayed always add up to 2000. Wonder if this is a residual debugging aid that the developer left in - of course I've never done anything like that :)
     

Share This Page