Show global label if selected in searchable domain selector (#7985)
This commit is contained in:
@@ -842,6 +842,9 @@
|
|||||||
if (selected_option && selected_option.value !== '') {
|
if (selected_option && selected_option.value !== '') {
|
||||||
return selected_option.text || selected_option.innerText || '';
|
return selected_option.text || selected_option.innerText || '';
|
||||||
}
|
}
|
||||||
|
if (selected_option && selected_option.value === '' && selected_option.innerText == '{/literal}{$text.label_global}{literal}') {
|
||||||
|
return selected_option.text || selected_option.innerText || '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user