Changeset 2538 in subversion
- Timestamp:
- May 26, 2009 3:28:42 AM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/js/app.js (modified) (3 diffs)
-
program/js/list.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r2537 r2538 2 2 =========================== 3 3 4 - Add drag cancelling with ESC key (#1484344) 4 5 - Support initial identity name from virtuser_query (#1484003) 5 6 - Added message menu, removed Print and Source buttons -
trunk/roundcubemail/program/js/app.js
r2523 r2538 163 163 this.message_list.addEventListener('dragstart', function(o){ p.drag_start(o); }); 164 164 this.message_list.addEventListener('dragmove', function(o, e){ p.drag_move(e); }); 165 this.message_list.addEventListener('dragend', function(o ){ p.drag_active = false; });165 this.message_list.addEventListener('dragend', function(o, e){ p.drag_end(e); }); 166 166 document.onmouseup = function(e){ return p.doc_mouse_up(e); }; 167 167 … … 279 279 this.contact_list.addEventListener('dragstart', function(o){ p.drag_start(o); }); 280 280 this.contact_list.addEventListener('dragmove', function(o, e){ p.drag_move(e); }); 281 this.contact_list.addEventListener('dragend', function(o ){ p.drag_active = false; });281 this.contact_list.addEventListener('dragend', function(o, e){ p.drag_end(e); }); 282 282 this.contact_list.init(); 283 283 … … 1259 1259 }; 1260 1260 1261 this.drag_end = function(e) 1262 { 1263 this.drag_active = false; 1264 1265 // over the folders 1266 if (this.gui_objects.folderlist && this.env.folder_coords) { 1267 for (var k in this.env.folder_coords) { 1268 if (k == this.env.last_folder_target) { 1269 $(this.get_folder_li(k)).removeClass('droptarget'); 1270 this.env.last_folder_target = null; 1271 } 1272 } 1273 } 1274 }; 1275 1261 1276 this.drag_move = function(e) 1262 1277 { -
trunk/roundcubemail/program/js/list.js
r2420 r2538 626 626 var keyCode = rcube_event.get_keycode(e); 627 627 var mod_key = rcube_event.get_modifier(e); 628 628 629 switch (keyCode) 629 630 { … … 654 655 switch (rcube_event.get_keycode(e)) 655 656 { 657 case 27: 658 if (this.drag_active) 659 this.drag_mouse_up(e); 656 660 case 40: 657 661 case 38:
Note: See TracChangeset
for help on using the changeset viewer.
