Changeset 7362 for branches


Ignore:
Timestamp:
10/08/12 10:00:45 (7 years ago)
Author:
eduardow
Message:

Ticket #3142 - Nao aparece o campo de busca de usuario ao delegar a participação em uma tarefa.

Location:
branches/2.4/prototype/modules/calendar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/modules/calendar/js/calendar.codecs.js

    r7228 r7362  
    418418                            isOrganizer: (form.attendee_organizer == attendee ? 1 : 0 ), 
    419419                            isExternal: !!parseInt(form.attendeeType[i]) ? 1 : 0, 
    420                             acl: form.attendeeAcl[i].replace('o', '') 
     420                            acl: 'r' 
    421421                        }; 
    422422                    }else{ 
  • branches/2.4/prototype/modules/calendar/js/task.helpers.js

    r7228 r7362  
    488488            $(this).removeClass('attendee-permissions-change-button')    
    489489            .find('.ui-icon-transferthick-e-w').removeClass('attendee-permissions-change').end();                
    490             blkAddAtendee.find('.block-add-attendee.search').addClass('hidden'); 
     490            blkAddAtendee.find('.block-add-attendee.search').addClass('hidden').find('dd').addClass('hidden');  
    491491            blkAddAtendee.find('.block-add-attendee.search dt').html('Adicionar outros contatos'); 
    492492        } 
     
    495495        .find('.ui-icon-transferthick-e-w').addClass('attendee-permissions-change').end();                
    496496        blkAddAtendee.find('.block-add-attendee.search dt').html('Delegar participação para'); 
    497         blkAddAtendee.find('.block-add-attendee.search').removeClass('hidden'); 
     497        blkAddAtendee.find('.block-add-attendee.search').removeClass('hidden').find('dd').removeClass('hidden'); 
    498498        blkAddAtendee.find('.block-add-attendee.search input.search').focus(); 
    499499        } 
  • branches/2.4/prototype/modules/calendar/templates/attendees_task.ejs

    r7228 r7362  
    7878                            <input type="hidden" name="attendee[]" value="<%=data.task.attendee[i].id%>"> 
    7979                            <input type="hidden" name="attendeeType[]" value="<%=data.task.attendee[i].isExternal%>"> 
    80                             <input type="hidden" name="attendeeAcl[]" value="<%=data.task.attendee[i].acl%>"> 
    8180                            <input type="hidden" name="delegatedFrom[]" value="<%=data.task.attendee[i].delegatedFrom%>"> 
    8281                            <label title="<%= data.task.attendee[i].name ? data.task.attendee[i].name: '' %>" class="name <%= !!data.task.delegatedFrom[data.task.attendee[i].id] ? "name-special-delegated" : "name-special" %>"><%= data.task.attendee[i].name ? data.task.attendee[i].name : '' %></label> 
Note: See TracChangeset for help on using the changeset viewer.