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() function onMoreFewer()
{ {
if (doSeeAll) { if (doSeeAll) {
void(null);
doSeeAll = false; doSeeAll = false;
dialog.MoreRow.style.visibility = "hidden"; // collapse is a little funky
// BUG: This works to hide the row, but // BUG: This works to hide the row, but
// setting visibility to "show" doesn't bring it back // setting visibility to "show" doesn't bring it back
dialog.MoreRow.style.visibility = "collapse"; // hidden
} else { } else {
doSeeAll = true; 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> </table>
</fieldset> </fieldset>
<button id="AdvancedButton" onclick="onAdvanced()"> &AdvancedEditButton.label; </button> <button id="AdvancedButton"
class="disabled"
onclick="onAdvanced()">
&AdvancedEditButton.label;
</button>
</td> </td>
<td> <td>
@ -398,8 +402,17 @@
<table> <table>
<tr align="right"> <tr align="right">
<td align="right"> <td align="right">
<button id="OK" onclick="onOK()"> &OKButton.label; </button> <button id="OK"
<button id="Cancel" onclick="onCancel()"> &CancelButton.label; </button> class="disabled"
onclick="onOK()">
&OKButton.label;
</button>
<button id="Cancel"
onclick="onCancel()">
&CancelButton.label;
</button>
</td> </td>
</tr> </tr>
</table> </table>
@ -452,35 +465,35 @@
value="&topPopup.value;" value="&topPopup.value;"
style="min-width: 40px" style="min-width: 40px"
src="&topIcon.url;" src="&topIcon.url;"
align="right" align="left"
onclick="opener.SetImageAlignment('top'); window.close();" /> onclick="opener.SetImageAlignment('top'); window.close();" />
<titledbutton class="PopupButton" <titledbutton class="PopupButton"
value="&centerPopup.value;" value="&centerPopup.value;"
style="min-width: 40px" style="min-width: 40px"
src="&centerIcon.url;" src="&centerIcon.url;"
align="right" align="left"
onclick="opener.SetImageAlignment('middle'); window.close();" /> onclick="opener.SetImageAlignment('middle'); window.close();" />
<titledbutton class="PopupButton" <titledbutton class="PopupButton"
value="&bottomPopup.value;" value="&bottomPopup.value;"
style="min-width: 40px" style="min-width: 40px"
src="&bottomIcon.url;" src="&bottomIcon.url;"
align="right" align="left"
onclick="opener.SetImageAlignment('bottom'); window.close();" /> onclick="opener.SetImageAlignment('bottom'); window.close();" />
<titledbutton class="PopupButton" <titledbutton class="PopupButton"
value="&wrapRightPopup.value;" value="&wrapRightPopup.value;"
style="min-width: 40px" style="min-width: 40px"
src="&wrapRightIcon.url;" src="&wrapRightIcon.url;"
align="right" align="left"
onclick="opener.SetImageAlignment('left'); window.close();" /> onclick="opener.SetImageAlignment('left'); window.close();" />
<titledbutton class="PopupButton" <titledbutton class="PopupButton"
value="&wrapLeftPopup.value;" value="&wrapLeftPopup.value;"
style="min-width: 40px" style="min-width: 40px"
src="&wrapLeftIcon.url;" src="&wrapLeftIcon.url;"
align="right" align="left"
onclick="opener.SetImageAlignment('right'); window.close();" /> onclick="opener.SetImageAlignment('right'); window.close();" />
</window> </window>