From d096851f9b60d828a6590a58cc03d00d483c65d3 Mon Sep 17 00:00:00 2001 From: wilpig Date: Thu, 15 Feb 2018 21:18:36 -0600 Subject: [PATCH] Fixing the layout issues caused by the combobox Pulled the fix from one of the other pages that altered the field length by 2px. close #1006 #969 --- cabrow.php | 2 ++ container.php | 3 +++ zone.php | 2 ++ 3 files changed, 7 insertions(+) diff --git a/cabrow.php b/cabrow.php index 34fe57f0c..9b707f3da 100644 --- a/cabrow.php +++ b/cabrow.php @@ -87,6 +87,8 @@ $("#datacenterid").combobox(); $("#zoneid").combobox(); + $('span.custom-combobox').width($('span.custom-combobox').width()+2); + // Input options that are disabled don't submit $('.caption > button').on('click',function(e){ $('#datacenterid').removeAttr('disabled'); diff --git a/container.php b/container.php index febad54ce..ff58d6620 100644 --- a/container.php +++ b/container.php @@ -99,6 +99,9 @@ $("#containerid").combobox(); $("#parentid").combobox(); + + $('span.custom-combobox').width($('span.custom-combobox').width()+2); + $('#datacenterform').validationEngine({}); $('#drawingfilename').click(function(){ $("#imageselection").dialog({ diff --git a/zone.php b/zone.php index 2a4cdbf7d..9b7dc0a82 100644 --- a/zone.php +++ b/zone.php @@ -256,6 +256,8 @@ function preview(img, selection) { $("#zoneid").combobox(); $("#datacenterid").combobox(); + + $('span.custom-combobox').width($('span.custom-combobox').width()+2); });