Project

General

Profile

Actions

Bug #5638

closed
PD PD

services_unbound_host_edit.php clicking Add Host Name blanks out all input fields

Bug #5638: services_unbound_host_edit.php clicking Add Host Name blanks out all input fields

Added by Phillip Davis almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
12/14/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:

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.

PD Updated by Phillip Davis almost 11 years ago Actions #1

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.

Updated by Anonymous almost 11 years ago Actions #2

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.

Updated by Anonymous almost 11 years ago Actions #3

  • Status changed from New to Confirmed
  • Assignee set to Anonymous

Updated by Anonymous almost 11 years ago Actions #4

  • Status changed from Confirmed to Feedback
  • Assignee changed from Anonymous to Phillip Davis

Fixed by converting to 'repeatable' class and jQuery

Updated by Anonymous almost 11 years ago Actions #5

  • % Done changed from 0 to 100

Applied in changeset commit:9f6a9f24edf12d961c0318d95b02d969447e2d3d.

PD Updated by Phillip Davis almost 11 years ago Actions #6

The same sort of changes will be needed for DNS Forwarder - services dnsmasq...

Updated by Anonymous almost 11 years ago Actions #7

Applied in changeset commit:39609bf9959f77394943f05352d4cab095a8a2c6.

Updated by Anonymous almost 11 years ago Actions #8

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom