Actions
Bug #9461
closedundefined method domain_selected() when selecting Host group domain/subnet
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
On the host group edit page, select Network, then a Domain and Subnet. On the browser console you'll get:
Uncaught ReferenceError: subnet_selected is not defined
It looks like the host group form still uses the common/_subnet partial, which calls subnet_selected(), but this was removed in #7456 and the host edit form now uses something different. Maybe just remove the onchange event from this select?
Updated by Dominic Cleal over 9 years ago
- Subject changed from undefined method subnet_selected() when selecting Host group subnet to undefined method domain_selected() when selecting Host group domain/subnet
- Translation missing: en.field_release set to 28
Changing this slightly, as a more important problem is when selecting a domain from the host group network dropdown, it tries to call domain_selected() and this isn't present in the JS any more. The list of subnets isn't updated, it remains greyed out.
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #7456: Extract primary interface from host added
Updated by Tomer Brisker over 9 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2187 added
- Pull request deleted (
)
Updated by Tomer Brisker over 9 years ago
- Related to Bug #9444: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab added
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3345d139a40ed461114455acf2f2f26facaa5d98.
Actions