Bug #5638
closed
services_unbound_host_edit.php clicking Add Host Name blanks out all input fields
Added by Phillip Davis over 10 years ago.
Updated over 10 years ago.
Description
DNS Resolver, add a host override
Enter stuff in the normal Host, Domain, IP Address, Description fields.
Click Add Host Name in the "Additional names for this host" section"
The stuff you entered in the top 4 fields is blanked out!!!
You can make an entry by first clicking "Add Host Name" enough times to make the number of rows you need, then enter all the data and Save.
Same problem if you edit an existing entry and try to "Add Host Name".
Same problem in DNS Forwarder.
Actually you can't make a 2nd additional name - when you click "Add Host Name" each time it just comes back with an empty form with just a single row for an additional name.
Looks like this was coded in a way that requires the user to save after adding each new host. What it really needs is our jQuery "repeatable" class.
I'll add that now.
- Status changed from New to Confirmed
- Assignee set to Anonymous
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Phillip Davis
Fixed by converting to 'repeatable' class and jQuery
- % Done changed from 0 to 100
Applied in changeset commit:9f6a9f24edf12d961c0318d95b02d969447e2d3d.
The same sort of changes will be needed for DNS Forwarder - services dnsmasq...
Applied in changeset commit:39609bf9959f77394943f05352d4cab095a8a2c6.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF