Fix issue with missing elements in the dashboard
The create zone button will not render and the recordset list will be blank with a javascript error, dnsServiceEnabled is assigned before it is defined. This patch corrects those errors by removing an unused variable assignment. Closes-Bug: #1987439 Change-Id: I6fe2fa4f19c2117c632a9176f048c7e5a2639c88
This commit is contained in:
parent
19a2d4fbaa
commit
80100077be
|
@ -74,7 +74,6 @@
|
|||
|
||||
function initAction() {
|
||||
updateRecordSetPolicy = policy.ifAllowed({rules: [['dns', 'update_recordset']]});
|
||||
dnsServiceEnabled = serviceCatalog.ifTypeEnabled('dns');
|
||||
}
|
||||
|
||||
function allowed(recordset) {
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
|
||||
function initAction() {
|
||||
updateZonePolicy = policy.ifAllowed({rules: [['dns', 'update_zone']]});
|
||||
dnsServiceEnabled = serviceCatalog.ifTypeEnabled('dns');
|
||||
}
|
||||
|
||||
function allowed(zone) {
|
||||
|
|
Loading…
Reference in New Issue