зеркало из https://github.com/mozilla/pjs.git
diffs from pete@postpagan.com
This commit is contained in:
Родитель
0d23edf4ac
Коммит
bb52a9fc07
|
@ -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="¢erPopup.value;"
|
value="¢erPopup.value;"
|
||||||
style="min-width: 40px"
|
style="min-width: 40px"
|
||||||
src="¢erIcon.url;"
|
src="¢erIcon.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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче