Changeset 5361


Ignore:
Timestamp:
01/11/12 15:25:44 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Correcoes de bugs e melhorias na nova agenda

Location:
trunk/prototype/modules/calendar/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/calendar.codecs.js

    r5358 r5361  
    512512                                          
    513513                                          var person = { uid: attend.id, 
    514                                                  name: attend.user.name, 
     514                                                 name: attend.user.name != 'false' ? attend.user.name : '', 
    515515                                                 mail: attend.user.mail, 
    516516                                                 isExternal: attend.isExternal 
  • trunk/prototype/modules/calendar/js/helpers.js

    r5360 r5361  
    431431                        var blkAddAtendee = UI.dialogs.addEvent.find('#calendar_addevent_details6').append(attendeeHtml); 
    432432                         
    433                         blkAddAtendee.find('li.attendee .button').addClass('small').button({text:false, icons: {primary:'ui-icon-close'}}).click(function () { 
     433                        blkAddAtendee.find('li.attendee .button').addClass('small '+ (objEvent.isOrganizer == 1 ? '' : 'hidden')).button({text:false, icons: {primary:'ui-icon-close'}}).click(function () { 
    434434                                DataLayer.remove('participant', $(this).parent().find('[type=checkbox]').val()); 
    435435                                $(this).parent().remove(); 
Note: See TracChangeset for help on using the changeset viewer.