Changeset 5153 in subversion
- Timestamp:
- Sep 2, 2011 2:45:39 AM (21 months ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/js/app.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r5146 r5153 1214 1214 { 1215 1215 var modkey = rcube_event.get_modifier(e), 1216 menu = $('#'+this.gui_objects.message_dragmenu);1216 menu = this.gui_objects.message_dragmenu; 1217 1217 1218 1218 if (menu && modkey == SHIFT_KEY && this.commands['copy']) { 1219 1219 var pos = rcube_event.get_mouse_pos(e); 1220 1220 this.env.drag_target = target; 1221 menu.css({top: (pos.y-10)+'px', left: (pos.x-10)+'px'}).show();1221 $(menu).css({top: (pos.y-10)+'px', left: (pos.x-10)+'px'}).show(); 1222 1222 return true; 1223 1223 } … … 1228 1228 this.drag_menu_action = function(action) 1229 1229 { 1230 var menu = $('#'+this.gui_objects.message_dragmenu);1230 var menu = this.gui_objects.message_dragmenu; 1231 1231 if (menu) { 1232 menu.hide();1232 $(menu).hide(); 1233 1233 } 1234 1234 this.command(action, this.env.drag_target);
Note: See TracChangeset
for help on using the changeset viewer.
