diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index 995f88b29b..372c45468a 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -716,7 +716,7 @@ $script .= " tb.name=obj.name;\n"; $script .= " tb.className='formfld';\n"; $script .= " tb.setAttribute('id', '".$destination_id."');\n"; - $script .= " tb.setAttribute('style', '".$select_style."');\n"; + $script .= " tb.setAttribute('style', 'width: ' + obj.offsetWidth + 'px;');\n"; if (!empty($on_change)) { $script .= " tb.setAttribute('onchange', \"".$on_change."\");\n"; $script .= " tb.setAttribute('onkeyup', \"".$on_change."\");\n"; @@ -751,29 +751,28 @@ } echo "