From afc7487a40ad9dd42a918fb00e1829c5aa6746bb Mon Sep 17 00:00:00 2001 From: fusionate Date: Sat, 4 Nov 2023 01:05:01 +0000 Subject: [PATCH] Ring Group - Edit: Minor adjustments. --- app/ring_groups/ring_group_edit.php | 37 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 19 deletions(-) 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 "