Changeset 5349
- Timestamp:
- 01/10/12 15:13:10 (12 years ago)
- Location:
- trunk/prototype
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/index.php
r5345 r5349 130 130 131 131 <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> 132 133 <!-- <script type='text/javascript' src='../../app/plugins/view/jquerymx-1.0.custom.min.js'></script> --> 133 134 <script type='text/javascript' src='../../app/plugins/ejs/ejs.js'></script> -
trunk/prototype/modules/calendar/js/helpers.js
r5345 r5349 491 491 492 492 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 ) 494 495 .find('.button.close').addClass('small').button({text:false, icons:{primary:'ui-icon-close'}}).click(function() { 495 496 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()]]); … … 497 498 DataLayer.remove('participant', participant[0].id); 498 499 $(this).parent().remove(); 499 }); 500 }).end() 501 .scrollTo('max'); 502 500 503 $(this).val(''); 501 504 … … 515 518 DataLayer.remove('participant', participant[0].id); 516 519 $(this).parent().remove(); 517 }); 520 }).end() 521 .scrollTo('max'); 518 522 hasNewAttendee = true; 519 523 … … 638 642 .find('.button').addClass('small').button({text:false, icons: {primary:'ui-icon-close'}}).click(function () { 639 643 $(this).parent().remove(); 640 }); 644 }).end() 645 .scrollTo('max'); 641 646 642 647 old_item.remove();
Note: See TracChangeset
for help on using the changeset viewer.