Changeset 6989
- Timestamp:
- 08/10/12 16:00:33 (12 years ago)
- Location:
- sandbox/2.4.2-expresso1/prototype/modules/calendar/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js
r6988 r6989 2047 2047 2048 2048 doMenu(); 2049 2049 var currentToolTip = null; 2050 2050 $('#divAppbox').on('scroll',function(){ 2051 2051 if ($('.cal-list-options-btn.fg-menu-open.ui-state-active')){ … … 2054 2054 $('.positionHelper').css('top',offset.top); 2055 2055 } 2056 2057 if ($(".new-group.qtip-active").length || $(".new-calendar.qtip-active").length) 2058 $('.qtip-active').css('top',currentToolTip.offset().top - 50); 2059 2060 2056 2061 }); 2057 2062 … … 2066 2071 text: false 2067 2072 }).click(function () { 2068 2073 currentToolTip = $(this); 2069 2074 var typeCalendar = !!parseInt($(this).attr('class').match(/[0-9]+/g)) ? 2070 2075 {type: 'new-group', title: 'Novo Grupo', typeValue: 1, prompt: 'Nome do grupo'} : … … 2076 2081 2077 2082 $(this).qtip({ 2078 2083 show: { 2079 2084 ready: true, 2080 2085 solo: true, … … 2112 2117 adjust: { 2113 2118 x:0, 2114 y:-12 2119 y: -12 2120 2115 2121 } 2116 2122 } 2117 2123 }) 2118 2124 .qtip("api").onShow = function(arg0) { 2125 2119 2126 $('.qtip-active .button.close').button({ 2120 2127 icons: { -
sandbox/2.4.2-expresso1/prototype/modules/calendar/js/init.js
r6986 r6989 147 147 }, true ); 148 148 }); 149 150 var currentToolTip = null; 151 $('#divAppbox').on('scroll',function(){ 152 if ($(".new-task").length) 153 currentToolTip.qtip('destroy'); 154 }); 155 149 156 /* Quick add task 150 157 -----------------------------------------------------------------*/ 151 158 $(".button.add.add-task").click(function(event){ 159 currentToolTip = $(this); 152 160 var componente = $(this); 153 161 154 162 if(!$('div.qtip.qtip-blue.new-task').length){ 155 163
Note: See TracChangeset
for help on using the changeset viewer.