Ignore:
Timestamp:
08/10/12 16:00:33 (12 years ago)
Author:
thiago
Message:

Ticket #2966 - Resolvido problemas de tooltip ao dar scrool na pagina.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js

    r6988 r6989  
    20472047         
    20482048        doMenu(); 
    2049          
     2049        var currentToolTip = null; 
    20502050        $('#divAppbox').on('scroll',function(){ 
    20512051                if ($('.cal-list-options-btn.fg-menu-open.ui-state-active')){                    
     
    20542054                                $('.positionHelper').css('top',offset.top); 
    20552055                } 
     2056                 
     2057                if ($(".new-group.qtip-active").length || $(".new-calendar.qtip-active").length)                         
     2058                                $('.qtip-active').css('top',currentToolTip.offset().top - 50); 
     2059                 
     2060                         
    20562061        }); 
    20572062         
     
    20662071            text: false 
    20672072        }).click(function () { 
    2068  
     2073                currentToolTip = $(this); 
    20692074        var typeCalendar = !!parseInt($(this).attr('class').match(/[0-9]+/g)) ?  
    20702075            {type: 'new-group', title: 'Novo Grupo', typeValue: 1, prompt: 'Nome do grupo'} :  
     
    20762081 
    20772082                $(this).qtip({ 
    2078                 show: { 
     2083                                show: { 
    20792084                       ready: true,  
    20802085                   solo: true,  
     
    21122117                       adjust: { 
    21132118                            x:0,  
    2114                             y:-12 
     2119                            y: -12 
     2120                                                 
    21152121                       } 
    21162122                    } 
    21172123            }) 
    21182124                .qtip("api").onShow = function(arg0) { 
     2125                                 
    21192126                    $('.qtip-active .button.close').button({ 
    21202127                          icons: { 
Note: See TracChangeset for help on using the changeset viewer.