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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user