Commit 044b0a00 authored by redray's avatar redray
Browse files

quick workaround for bug: server_id gets "0" when saving again because the...

quick workaround for bug: server_id gets "0" when saving again because the input field gets disabled and no value is returned.
parent 04dccdd6
......@@ -8,7 +8,7 @@
<tmpl_if name="is_admin">
<div class="ctrlHolder">
<label for="server_id">{tmpl_var name='server_id_txt'}</label>
<select name="server_id" id="server_id" class="selectInput" {tmpl_var name='edit_disabled'}>
<select name="server_id" id="server_id" class="selectInput" onChange="loadContentInto('ip_address','sites/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)">
{tmpl_var name='server_id'}
</select>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment