Guest User

Untitled

a guest
Mar 24th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. /* var activeJobSectionDivId = "workstation" + workstationId + "_activeJobSection";
  2.  
  3. var labelSize = quantityUnassignedOrIndirectEmployees > 3 ? 36 * (quantityUnassignedOrIndirectEmployees-3)-2.5: 0;
  4.  
  5. if ($("#" + activeJobSectionDivId).outerHeight() > $("#" + newWorkstationNameDivId).outerHeight() + 20) {
  6. $("#" + newWorkstationNameDivId).css({ "padding-top": Math.round($("#" + activeJobSectionDivId).outerHeight()) + "px", "padding-bottom": Math.round($("#" + activeJobSectionDivId).outerHeight()) -labelSize + "px" });
  7.  
  8. $("#" + unassignedOrIndirectEmployeesLaborSectionId).css({
  9. "padding-bottom": Math.round($("#" + unassignedOrIndirectEmployeesPersonnelSectionId).outerHeight()) + "px"
  10. });
  11. }
  12.  
  13. else {
  14.  
  15. $("#" + unassignedOrIndirectEmployeesLaborSectionId).css({
  16. "padding-bottom": Math.round($("#" + newWorkstationNameDivId).outerHeight()/2),
  17. "padding-top": Math.round($("#" + newWorkstationNameDivId).outerHeight()/2)
  18. });
  19.  
  20. }*/
Add Comment
Please, Sign In to add comment