Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* var activeJobSectionDivId = "workstation" + workstationId + "_activeJobSection";
- var labelSize = quantityUnassignedOrIndirectEmployees > 3 ? 36 * (quantityUnassignedOrIndirectEmployees-3)-2.5: 0;
- if ($("#" + activeJobSectionDivId).outerHeight() > $("#" + newWorkstationNameDivId).outerHeight() + 20) {
- $("#" + newWorkstationNameDivId).css({ "padding-top": Math.round($("#" + activeJobSectionDivId).outerHeight()) + "px", "padding-bottom": Math.round($("#" + activeJobSectionDivId).outerHeight()) -labelSize + "px" });
- $("#" + unassignedOrIndirectEmployeesLaborSectionId).css({
- "padding-bottom": Math.round($("#" + unassignedOrIndirectEmployeesPersonnelSectionId).outerHeight()) + "px"
- });
- }
- else {
- $("#" + unassignedOrIndirectEmployeesLaborSectionId).css({
- "padding-bottom": Math.round($("#" + newWorkstationNameDivId).outerHeight()/2),
- "padding-top": Math.round($("#" + newWorkstationNameDivId).outerHeight()/2)
- });
- }*/
Add Comment
Please, Sign In to add comment