Skip to content
Permalink
Browse files

Inspect "window" object: correctly ensure tree loaded

(needed for not yet loaded web pages)
  • Loading branch information...
Infocatcher committed Oct 21, 2013
1 parent afa2b7c commit 4c3feb781dc4b34e235a1d8c9282cb5f66509f8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Attributes_Inspector/attrsInspector.js
@@ -1312,7 +1312,7 @@ function init() {
inspWin.setTimeout(function selectWindow() {
var brDoc = browser.contentDocument;
var tree = brDoc.getElementById("treeJSObject");
if(tree && tree.columns && tree.view) {
if(tree && tree.columns && tree.view && tree.view.selection) {
var keyCol = tree.columns.getKeyColumn();
var view = tree.view;
for(var i = 0, rowCount = view.rowCount; i < rowCount; ++i) {

0 comments on commit 4c3feb7

Please sign in to comment.
You can’t perform that action at this time.