Changeset 5338 for trunk/expressoMail1_2/js
- Timestamp:
- 01/10/12 10:15:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/shortcut.js
r5250 r5338 184 184 if(!opt['propagate']) { //Stop the event 185 185 //e.cancelBubble is supported by IE - this will kill the bubbling process. 186 if ( Element('border_id_0') && Element('border_id_0').className != 'menu-sel' ){ 187 return false; 188 } 186 189 e.cancelBubble = true; 187 190 e.returnValue = false; 188 191 192 189 193 //e.stopPropagation works in Firefox. 190 194 if (e.stopPropagation) { 195 if ( Element('border_id_0') && Element('border_id_0').className != 'menu-sel' ){ 196 return false; 197 } 198 191 199 e.stopPropagation(); 192 200 e.preventDefault(); … … 194 202 return false; 195 203 } 204 196 205 } 197 206 } … … 224 233 225 234 /* ExpressMail Functions */ 235 226 236 var shift_up_count = 0; 227 237 var shift_down_count = 0; … … 367 377 else 368 378 { 369 shortcut.add("Up",function(){select_msg('null', 'up');},{'disable_in_input':false}); 370 shortcut.add("Down",function(){select_msg('null', 'down');},{'disable_in_input':false}); 379 shortcut.add("Up",function(){ 380 select_msg('null', 'up'); 381 },{'disable_in_input':false}); 382 383 shortcut.add("Down",function(){ 384 select_msg('null', 'down'); 385 386 },{'disable_in_input':false}); 371 387 372 388 shortcut.add("Shift+down",function(){ … … 619 635 } 620 636 } 637 638 639 640 641
Note: See TracChangeset
for help on using the changeset viewer.