Remove Cell Tab in Table Properties dialog when only a table is selected. b=85254, r=jfrancis, sr=kin, a=asa-drivers

This commit is contained in:
cmanske%netscape.com 2001-06-13 00:58:56 +00:00
Родитель ee1649404e
Коммит f702cd1d5b
1 изменённых файлов: 6 добавлений и 1 удалений

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

@ -210,7 +210,12 @@ function Startup()
// We may call this with table selected, but no cell,
// so disable the Cell Properties tab
if(!CellElement)
CellTab.setAttribute("disabled", "true");
{
// XXX: Disabling of tabs is currently broken, so for
// now we'll just remove the tab completely.
//CellTab.setAttribute("disabled", "true");
CellTab.parentNode.removeChild(CellTab);
}
}
doSetOKCancel(onOK, onCancel);