Changeset 6462


Ignore:
Timestamp:
06/11/12 18:11:57 (9 years ago)
Author:
eduardow
Message:

Ticket #2848 - Problema na distancia do menu de contexto de um evento até o mouse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/modules/calendar/js/calendar.contentMenu.js

    r6286 r6462  
    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.