Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var stopped = true;
- slots = findClientStatusSlots(item.id);
- for (var i = 0; i < slots.length; i++) {
- if (slots[i].status != 'STOPPED') {
- stopped = false;
- }
- }
- if (!stopped) {
- $('#' + item.id).css({
- color: client.labelcolor,
- 'background-color': client.color
- });
- $('#' + item.id).find('.client-name').addClass('free');
- $('#' + item.id).find('.rect').hide();
- }
- $($('#' + item.id).find('.time')[item.slot - 1]).hide();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement