Skip to content

Commit

Permalink
Changing the order of operations for the combo box loading on the cab…
Browse files Browse the repository at this point in the history
…inets.php
  • Loading branch information
wilpig committed Apr 12, 2018
1 parent e819d38 commit c5e5171
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions cabinets.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,6 @@
// Init form
$('#datacenterid').trigger('change');

$("#cabinetid").combobox();
$("#datacenterid").combobox();
$("#assignedto").combobox();
$("#zoneid").combobox();
$("#cabrowid").combobox();

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

$('#rackform').validationEngine({});
$('input[name="installationdate"]').datepicker({dateFormat: "yy-mm-dd"});
$('#tags').width($('#tags').parent('div').parent('div').innerWidth()-$('#tags').parent('div').prev('div').outerWidth()-5);
Expand Down Expand Up @@ -398,6 +390,13 @@
});
});

$("#cabinetid").combobox();
$("#datacenterid").combobox();
$("#assignedto").combobox();
$("#zoneid").combobox();
$("#cabrowid").combobox();

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

0 comments on commit c5e5171

Please sign in to comment.