fixed props and scope commands to used getCurrentFrame, instead of console.curre
ntFrameIndex
This commit is contained in:
rginda%netscape.com 2001-06-12 23:43:57 +00:00
Родитель a28386d56a
Коммит dd4c77a285
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -407,10 +407,10 @@ function con_iscope ()
return false;
}
if (console.frames[console.currentFrameIndex].scope.propertyCount == 0)
if (getCurrentFrame().scope.propertyCount == 0)
display (getMsg (MSN_NO_PROPERTIES, MSG_WORD_SCOPE + " 0"));
else
displayProperties (console.frames[console.currentFrameIndex].scope);
displayProperties (getCurrentFrame().scope);
return true;
}