diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-24 07:06:13 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-24 07:06:13 +0000 |
commit | 5d5f69a2b0131b6b5aeb4301cad48efc90ed0a34 (patch) | |
tree | 92a05cd3f852c8b7c28b9e34d984b54430c0a91b /usr | |
parent | 53075520006e1e453367ed298d71324f38735c18 (diff) | |
download | pfsense-5d5f69a2b0131b6b5aeb4301cad48efc90ed0a34.zip pfsense-5d5f69a2b0131b6b5aeb4301cad48efc90ed0a34.tar.gz |
Add visual indicator from scritaculous when we populate textbox from
the select dropdown.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware_settings.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 67a161d..299baf0 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -56,6 +56,7 @@ if(file_exists("/tmp/manifest")) { ?> <script src="/javascript/scriptaculous/prototype.js" type="text/javascript"></script> +<script src="/javascript/scriptaculous/scriptaculous.js" type="text/javascript"></script> <script language="JavaScript"> <!-- @@ -65,7 +66,7 @@ function enable_altfirmwareurl(enable_over) { document.iform.firmwareurl.disabled = 0; } else { document.iform.firmwareurl.disabled = 1; - document.iform.firmwareurl.value = ''; + document.iform.firmwareurl.value = ''; } } @@ -98,7 +99,7 @@ function enable_altfirmwareurl(enable_over) { <tr> <td valign="top" class="vncell">Default Auto Update URLs</td> <td class="vtable"> - <select name='preseturls' id='preseturls' onChange="firmwareurl.value = preseturls.value; document.iform.firmwareurl.disabled = 0; alturlenable.checked=true;"> + <select name='preseturls' id='preseturls' onChange="firmwareurl.value = preseturls.value; document.iform.firmwareurl.disabled = 0; alturlenable.checked=true; new Effect.Highlight(this.parentNode, { startcolor: '#ffff99', endcolor: '#fffffff' });"> <option></option> <?php foreach($preset_urls_split as $pus) { |