horizontal line properties window does not show that line is centered; fix done by neil@parkwaycc.co.uk; b=120120, r=glazman, sr=kin, a=blizzard
This commit is contained in:
Родитель
9260b0b35e
Коммит
e3d4b000f6
|
@ -89,9 +89,9 @@ function InitDialog()
|
|||
var marginLeft = GetHTMLOrCSSStyleValue(globalElement, "align", "margin-left").toLowerCase();
|
||||
var marginRight = GetHTMLOrCSSStyleValue(globalElement, "align", "margin-right").toLowerCase();
|
||||
align = marginLeft + " " + marginRight;
|
||||
gDialog.centerAlign.checked = (align == "center center" || align == "auto auto");
|
||||
gDialog.leftAlign.checked = (align == "left left" || align == "0px auto");
|
||||
gDialog.centerAlign.checked = (align == "center center" || align == "auto auto" || align == " ");
|
||||
gDialog.rightAlign.checked = (align == "right right" || align == "auto 0px");
|
||||
gDialog.leftAlign.checked = (align == "left left" || align == "0px auto" || align == " ");
|
||||
|
||||
if (gDialog.centerAlign.checked) {
|
||||
gDialog.alignGroup.selectedItem = gDialog.centerAlign;
|
||||
|
|
Загрузка…
Ссылка в новой задаче