Ignore:
Timestamp:
06/15/12 17:26:16 (11 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
a9daf0
Parents:
06b456
Message:

[IMP] Removing onClick attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/tpls/BookingDisplay.tpl

    r3f852f r36e3ed  
    9797        <span style="margin-left:3px;margin-right:3px;">|</span> 
    9898        <script type="text/javascript"> 
    99             var booking${Booking.getId()} = ${jsonEncode(fossilize(Booking))}; 
     99          var booking${Booking.getId()} = bookings[${Booking.getId()|n,j}]; 
    100100        </script> 
    101         <a href="#" style="font-size:12px" onClick="connectBookingRoom(booking${Booking.getId()},'${conf.getId()}')">${_("Connect")} ${Booking.getLinkVideoRoomLocation()}</a> 
    102         <div style="display:inline; vertical-align:middle" id="connectProgress${Booking.getId()}"></div> 
     101 
     102        <a href="#" style="font-size:12px" data-booking-id="${Booking.getId()}" data-event="${conf.getId()}" class="connect_room">${_("Connect")} ${Booking.getLinkVideoRoomLocation()}</a> 
     103        <div style="display:inline; vertical-align:middle" class="progress"></div> 
    103104        % endif 
    104105 
Note: See TracChangeset for help on using the changeset viewer.