Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Details in Statistics Page not working correctly #209

Closed
my-password-is-password opened this issue Mar 13, 2014 · 0 comments
Closed

Details in Statistics Page not working correctly #209

my-password-is-password opened this issue Mar 13, 2014 · 0 comments

Comments

@my-password-is-password
Copy link
Contributor

I was messing around in the stats page toggling filters and switching between pages in "For" dropdown to see what I need to allow for a page to work and noticed it wasn't showing the info I wanted. Like it wasn't showing urls of blocked images when I had "Blocked" checked, etc...

Saw an error in the console.

Uncaught TypeError: Cannot read property 'cells' of undefined              info.js:209

it was in the function renderRequestRow

function renderRequestRow(row, request) {
    var pos, text, attr;
    var jqRow = $(row);
    row = jqRow[0];
    jqRow.attr('id', '');
    jqRow.css('display', '');
    jqRow.removeClass();
    jqRow.addClass('rendered');
    if ( request.block !== false ) {
        jqRow.addClass('blocked-true');
    } else {
        jqRow.addClass('blocked-false');
    }
    jqRow.addClass('type-' + request.type);
    var cells = row.cells;  //<-------------------------------- line 209

HTTPSB 0.8.5.0


Steps to reproduce the error.

  1. Go to wired.com
  2. Go to the Statistics page
  3. Select "http://www.wired.com/" in the "For" dropdown
  4. Select "All" in the "For" dropdown
  5. Check error console
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant