Merge pull request #306 from Salamandar/stretch-unstable

Select default domain in app install page
This commit is contained in:
Alexandre Aubin 2021-01-06 16:44:32 +01:00 committed by GitHub
commit 457768b953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -466,6 +466,7 @@
});
});
args[k].choices[params.domains_main].selected = true;
// Custom help link
args[k].helpLink += "<a href='#/domains'>"+y18n.t('manage_domains')+"</a>";
}

View file

@ -14,6 +14,7 @@
req.params.domains = [];
req.api('GET', '/domains', {}, function(data) {
req.params.domains = data.domains;
req.params.domains_main = data.main;
});
}