Fix domain settings not showing label when first setting a placename

This occurs because previously we only created the input elements if you
have a domain id when the page loads. Because you can now have a domain
id assigned after the page initially loads, we need to always create the
input.
This commit is contained in:
Ryan Huffman 2017-11-08 13:36:03 -08:00
parent 3a9c364837
commit c77942c542

View file

@ -629,9 +629,7 @@ function showOrHideLabel() {
}
function setupDomainLabelSetting() {
if (!showOrHideLabel()) {
return;
}
showOrHideLabel();
var html = "<div>"
html += "<label class='control-label'>Specify a label for your domain</label> <a class='domain-loading-hide' href='#'>Edit</a>";