Changeset 5349


Ignore:
Timestamp:
01/10/12 15:13:10 (12 years ago)
Author:
adriano
Message:

Ticket #2434 - correcao de problemas no tooltip de adicao de participantes externos na nova agenda

Location:
trunk/prototype
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/index.php

    r5345 r5349  
    130130 
    131131<script type='text/javascript' src='../../app/plugins/zebradialog/javascript/zebra_dialog.js'></script> 
     132<script type='text/javascript' src='../../app/plugins/scrollto/jquery.scrollTo.js'></script> 
    132133<!-- <script type='text/javascript' src='../../app/plugins/view/jquerymx-1.0.custom.min.js'></script> --> 
    133134<script type='text/javascript' src='../../app/plugins/ejs/ejs.js'></script> 
  • trunk/prototype/modules/calendar/js/helpers.js

    r5345 r5349  
    491491 
    492492                                                blkAddAtendee.find('dd.attendee-list ul.attendee-list').append( 
    493                                                         DataLayer.render('templates/participants_add_itemlist.ejs', [{id:newAttendeeId, name: user[0].name, mail: user[0].mail}])) 
     493                                                        DataLayer.render('templates/participants_add_itemlist.ejs', [{id:newAttendeeId, name: user[0].name, mail: user[0].mail}]) 
     494                                                ) 
    494495                                                .find('.button.close').addClass('small').button({text:false, icons:{primary:'ui-icon-close'}}).click(function() { 
    495496                                                        var participant =  DataLayer.get('participant', ['AND',['=', 'user', $(this).parent().find('[type=checkbox]').val().replace(/[a-z:]/g, "")],['=', 'schedulable',$(this).parents().find('.id-event').first().val()]]); 
     
    497498                                                                DataLayer.remove('participant', participant[0].id); 
    498499                                                        $(this).parent().remove(); 
    499                                                 }); 
     500                                                }).end() 
     501                                                .scrollTo('max'); 
     502                                                 
    500503                                                $(this).val(''); 
    501504 
     
    515518                                                                DataLayer.remove('participant', participant[0].id); 
    516519                                                        $(this).parent().remove(); 
    517                                                 }); 
     520                                                }).end() 
     521                                                .scrollTo('max'); 
    518522                                                hasNewAttendee = true; 
    519523 
     
    638642                                                        .find('.button').addClass('small').button({text:false, icons: {primary:'ui-icon-close'}}).click(function () { 
    639643                                                                $(this).parent().remove(); 
    640                                                         }); 
     644                                                        }).end() 
     645                                                        .scrollTo('max'); 
    641646 
    642647                                                        old_item.remove(); 
Note: See TracChangeset for help on using the changeset viewer.