Remove disabled attribute rather than setting to false; moving fix from branch to trunk.
git-svn-id: svn://10.0.0.236/trunk@80450 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f005be6415
commit
b1685e2a90
@ -754,9 +754,16 @@ function SetSelectionButtons()
|
||||
function SetSpanEnable()
|
||||
{
|
||||
// If entire row is selected, don't allow changing colspan...
|
||||
dialog.RowSpanInput.setAttribute("disabled", (SelectedCellsType == SELECT_COLUMN) ? "true" : "false");
|
||||
if ( SelectedCellsType == SELECT_COLUMN )
|
||||
dialog.RowSpanInput.setAttribute("disabled", "true");
|
||||
else
|
||||
dialog.RowSpanInput.removeAttribute("disabled");
|
||||
|
||||
// ...and similarly:
|
||||
dialog.ColSpanInput.setAttribute("disabled", (SelectedCellsType == SELECT_ROW) ? "true" : "false");
|
||||
if ( SelectedCellsType == SELECT_ROW )
|
||||
dialog.ColSpanInput.setAttribute("disabled", "true");
|
||||
else
|
||||
dialog.ColSpanInput.removeAttribute("disabled");
|
||||
}
|
||||
|
||||
function SwitchPanel(newPanel)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user