mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
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:
parent
ee1649404e
commit
f702cd1d5b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user