Human-readable tooltips for nodetype in inspector. Bug 113793, patch by

Christopher Aillon <caillon@returnzero.com>, r=bzbarsky, sr=hewitt
This commit is contained in:
bzbarsky%mit.edu 2006-07-27 14:27:05 +00:00
Родитель 153018863b
Коммит 9cda54d0a7
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -226,6 +226,8 @@ JSObjectViewer.prototype =
tr.appendChild(tc);
tc = document.createElement("treecell");
tc.setAttribute("label", value);
if (aName == "nodeType")
tc.setAttribute("tooltiptext", nodeTypeToText(aValue));
tr.appendChild(tc);
aTreeChildren.appendChild(ti);