forceInteger integration (thanks to pete@postpagan.com)

git-svn-id: svn://10.0.0.236/trunk@39672 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
1999-07-16 09:08:13 +00:00
parent 2a19741989
commit 377d610662

View File

@@ -51,7 +51,8 @@
<label for="height">&heightEditField.label;</label>
</td>
<td colspan="2">
<input type="text" id="height" size="4" maxlength="4"/>
<input type="text" id="height" size="4" maxlength="4"
onkeypress="forceInteger('height')" />
<label> &pixelsPopup.value; </label>
</td>
</tr>
@@ -60,7 +61,8 @@
<label for="height">&widthEditField.label;</label>
</td>
<td>
<input type="text" id="width" size="4" maxlength="4"/>
<input type="text" id="width" size="4" maxlength="4"
onkeypress="forceInteger('width')" />
</td>
<td>
<xul:titledbutton class="popup PixelOrPercent" id="pixelOrPercentButton" value="&percentPopup.value;" align="left" popup="PixelOrPercentMenu" popupanchor="bottomleft"/>