Skip to content

Commit

Permalink
Fixing the layout issues caused by the combobox
Browse files Browse the repository at this point in the history
Pulled the fix from one of the other pages that altered the field length by 2px.  close #1006 #969
  • Loading branch information
wilpig committed Feb 16, 2018
1 parent f375cee commit d096851
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cabrow.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
3 changes: 3 additions & 0 deletions container.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@

$("#containerid").combobox();
$("#parentid").combobox();

$('span.custom-combobox').width($('span.custom-combobox').width()+2);

$('#datacenterform').validationEngine({});
$('#drawingfilename').click(function(){
$("#imageselection").dialog({
Expand Down
2 changes: 2 additions & 0 deletions zone.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ function preview(img, selection) {

$("#zoneid").combobox();
$("#datacenterid").combobox();

$('span.custom-combobox').width($('span.custom-combobox').width()+2);
});
</script>
</body>
Expand Down

0 comments on commit d096851

Please sign in to comment.