Changeset 6451


Ignore:
Timestamp:
06/08/12 12:12:55 (8 years ago)
Author:
thiago
Message:

Ticket #2848 - Distância do menu de contexto de um evento até o mouse.

File:
1 edited

Legend:

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

    r6286 r6451  
    2727 
    2828                var isRecurrence = DataLayer.get('repeat', schedulable.repeat).frequency; 
    29  
     29                 
     30                var top; 
     31                var elementId = document.getElementById("divAppbox"); 
     32                 
     33                top = elementId.scrollTop; 
     34                 
    3035                var template = DataLayer.render( 'templates/menu_context_event.ejs', {event: schedulable.id , 
    31                     top: (event.clientY - 135), left: (event.clientX - 445),  
    32                     signature: Calendar.signatureOf[idCalendar], 
     36                    top: (event.clientY - 135 + top), left: (event.clientX - 445),  
     37                                        signature: Calendar.signatureOf[idCalendar], 
    3338                    calendars: Calendar.calendars, isRecurrence: isRecurrence == 'none' ? false : true, 
    3439                    idRecurrence: idRecurrence 
Note: See TracChangeset for help on using the changeset viewer.