This commit is contained in:
brade%netscape.com 1999-08-05 22:19:25 +00:00
Родитель 0d23edf4ac
Коммит bb52a9fc07
2 изменённых файлов: 25 добавлений и 11 удалений

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

@ -155,13 +155,14 @@ function chooseFile()
function onMoreFewer()
{
if (doSeeAll) {
void(null);
doSeeAll = false;
dialog.MoreRow.style.visibility = "hidden"; // collapse is a little funky
// BUG: This works to hide the row, but
// setting visibility to "show" doesn't bring it back
dialog.MoreRow.style.visibility = "collapse"; // hidden
// setting visibility to "show" doesn't bring it back
} else {
doSeeAll = true;
dialog.MoreRow.style.visibility = "visible"; // inherit
dialog.MoreRow.style.visibility = "inherit"; // was visible; show doesn't seem to work
}
}

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

@ -277,7 +277,11 @@
</table>
</fieldset>
<button id="AdvancedButton" onclick="onAdvanced()"> &AdvancedEditButton.label; </button>
<button id="AdvancedButton"
class="disabled"
onclick="onAdvanced()">
&AdvancedEditButton.label;
</button>
</td>
<td>
@ -398,8 +402,17 @@
<table>
<tr align="right">
<td align="right">
<button id="OK" onclick="onOK()"> &OKButton.label; </button>
<button id="Cancel" onclick="onCancel()"> &CancelButton.label; </button>
<button id="OK"
class="disabled"
onclick="onOK()">
&OKButton.label;
</button>
<button id="Cancel"
onclick="onCancel()">
&CancelButton.label;
</button>
</td>
</tr>
</table>
@ -452,35 +465,35 @@
value="&topPopup.value;"
style="min-width: 40px"
src="&topIcon.url;"
align="right"
align="left"
onclick="opener.SetImageAlignment('top'); window.close();" />
<titledbutton class="PopupButton"
value="&centerPopup.value;"
style="min-width: 40px"
src="&centerIcon.url;"
align="right"
align="left"
onclick="opener.SetImageAlignment('middle'); window.close();" />
<titledbutton class="PopupButton"
value="&bottomPopup.value;"
style="min-width: 40px"
src="&bottomIcon.url;"
align="right"
align="left"
onclick="opener.SetImageAlignment('bottom'); window.close();" />
<titledbutton class="PopupButton"
value="&wrapRightPopup.value;"
style="min-width: 40px"
src="&wrapRightIcon.url;"
align="right"
align="left"
onclick="opener.SetImageAlignment('left'); window.close();" />
<titledbutton class="PopupButton"
value="&wrapLeftPopup.value;"
style="min-width: 40px"
src="&wrapLeftIcon.url;"
align="right"
align="left"
onclick="opener.SetImageAlignment('right'); window.close();" />
</window>