Bug 414917: select radio button when editing text in its associated textbox, r=vlad

git-svn-id: svn://10.0.0.236/trunk@244541 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com 2008-01-30 20:24:01 +00:00
parent e128df73a5
commit 2c4015703b

View File

@ -38,7 +38,7 @@
<span id="loading" class="loading"></span>
</div>
<form action="javascript:;">
<form action="javascript:;" name="graphconfig">
<table class="graphconfig-no" width="100%">
<tr style="vertical-align: top">
@ -50,7 +50,10 @@
<input id="load-all-radio" type="radio" name="dataload" onclick="onDataLoadChanged()" checked>
<label>all data</label><br>
<input id="load-days-radio" type="radio" name="dataload" onclick="onDataLoadChanged()">
<label>previous</label> <input type="text" value="30" id="load-days-entry" size="3" onchange="onDataLoadChanged()"> <label>days</label>
<label>previous</label>
<input type="text" value="30" id="load-days-entry" size="3" onchange="onDataLoadChanged();"
oninput="if (this.value != this.defaultValue) document.graphconfig.dataload[1].checked = true;">
<label>days</label>
</td>
</tr>
</table>