Changeset 7751 for trunk/prototype/modules/mail/js/foldertree.js
- Timestamp:
- 01/15/13 10:52:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/foldertree.js
r7745 r7751 238 238 search_emails("UNDELETED KEYWORD \"$Followupflagged\""); 239 239 }).end().end(); 240 240 241 $('.upper').droppable({ 242 over: function(event, ui){ 243 $('#content_folders').autoscroll({ 244 direction: 'up', 245 step: 150, 246 scroll: true 247 }); 248 }, 249 out: function(event, ui){ 250 $('#content_folders').autoscroll('destroy'); 251 } 252 }); 253 254 $('.lower').droppable({ 255 over: function(event, ui){ 256 $('#content_folders').autoscroll({ 257 direction: 'down', 258 step: 150, 259 scroll: true 260 }); 261 }, 262 out: function(event, ui){ 263 $('#content_folders').autoscroll('destroy'); 264 } 265 }); 266 267 268 241 269 folders_html.find('[id="'+selected+'"]').children().addClass("selected"); 242 270 $(".folder").not(".head_folder").not(".shared-folders").not(".shared-folders + ul .folder").parent().find(".folder").not(".head_folder,.inbox,.drafts,.sent,.spam,.trash").draggable({ … … 244 272 start : function(){ 245 273 $(this).css("color", "gray"); 274 $('.upper, .lower').show(); 275 $(".lower").css("top", ($("#content_folders").height()-18) + $("#content_folders").offset().top); 246 276 }, 247 277 stop : function(){ 248 278 $(this).css("color", ""); 279 $('.upper, .lower').hide(); 249 280 }, 250 281 revert: "invalid", … … 275 306 over.prev().trigger("click"); 276 307 } 277 }, 1000);308 }, 500); 278 309 279 310 } 280 311 //FIM : SE A PASTA CONTER FILHAS EXPANDE 281 $("#content_folders").stop().scrollTo($(this), {axis:'y', margin:true, offset:-50, duration:400});312 //$("#content_folders").stop().scrollTo($(this), {axis:'y', margin:true, offset:-50, duration:400}); 282 313 //SETA BORDA EM VOLTA DA PASTA 283 314 //
Note: See TracChangeset
for help on using the changeset viewer.