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
git-svn-id: svn://10.0.0.236/trunk@112426 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user