added oninput for text field handling
parent
02a6443c3b
commit
08d177185c
|
@ -26,7 +26,6 @@ if ( !canEdit( 'System' ) )
|
|||
$running = daemonCheck();
|
||||
|
||||
$states = dbFetchAll( "select * from States" );
|
||||
|
||||
$focusWindow = true;
|
||||
|
||||
xhtmlHeaders(__FILE__, translate('RunState') );
|
||||
|
@ -76,7 +75,9 @@ if ( empty($_REQUEST['apply']) )
|
|||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><?php echo translate('NewState') ?></th>
|
||||
<td><input type="text" name="newState" value="" size="16" onchange="checkState( this );"/></td>
|
||||
<!-- PP - added oninput so that changes are detected immediately -->
|
||||
<!-- PP - retained onchange for older browsers -->
|
||||
<td><input type="text" name="newState" value="" size="16" oninput="checkState( this );" onchange="checkState(this);"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue