Changeset 6203


Ignore:
Timestamp:
05/15/12 22:39:55 (12 years ago)
Author:
natan
Message:

Ticket #2744 - Problema na delegação durante a criação de um evento - corrigido

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

Legend:

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

    r6190 r6203  
    11301130            acl: 'r' 
    11311131        }); 
    1132         user[0].acl = objEvent.acl 
     1132        user[0].acl = objEvent.acl; 
     1133        user[0].isDirty = !!!objEvent.id; 
    11331134 
    11341135        blkAddAtendee.find('dd.attendee-list ul.attendee-list').append( 
     
    11641165            mail: newAttendeeEmail,  
    11651166            isExternal: 1,  
    1166             acl: objEvent.acl 
     1167            acl: objEvent.acl, 
     1168            isDirty: !!!objEvent.id 
    11671169            }]) 
    11681170        ).scrollTo('max'); 
     
    12741276                    mail: old_item.find('.mail').html(),  
    12751277                    isExternal: 0,  
    1276                     acl: objEvent.acl 
     1278                    acl: objEvent.acl, 
     1279                    isDirty: !!!objEvent.id 
    12771280                    }])) 
    12781281                .scrollTo('max'); 
  • trunk/prototype/modules/calendar/templates/participants_add_itemlist.ejs

    r5514 r6203  
    22        <div style="overflow:hidden; width:100%; display:table;"> 
    33                <div class="attendee-options"> 
    4                         <%if(data[0].acl.organization || data[0].acl.write || data[0].acl.inviteGuests){%> 
     4                        <%if( !data[0].isDirty && (data[0].acl.organization || data[0].acl.write || data[0].acl.inviteGuests) ){%> 
    55                                <a href="#" class="button delegate attendee-options-button-delegate new">Delegar participação a este participante</a> 
    66                        <%}%> 
Note: See TracChangeset for help on using the changeset viewer.