Changeset 7f03884 in github
- Timestamp:
- Sep 21, 2011 8:04:45 AM (20 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
- Children:
- 5172ac9
- Parents:
- 2d3e2bc
- File:
-
- 1 edited
-
program/js/app.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
r7bf3ce7 r7f03884 3496 3496 return rcube_event.cancel(e); 3497 3497 3498 case 9: // tab 3499 if (mod == SHIFT_KEY || !this.ksearch_visible()) { 3500 this.ksearch_hide(); 3501 return; 3502 } 3503 3498 3504 case 13: // enter 3499 if ( this.ksearch_selected === null || !this.ksearch_value)3500 break;3505 if (!this.ksearch_visible()) 3506 return false; 3501 3507 3502 3508 // insert selected address and hide ksearch pane … … 3506 3512 return rcube_event.cancel(e); 3507 3513 3508 case 9: // tab3509 3514 case 27: // escape 3510 3515 this.ksearch_hide(); … … 3522 3527 3523 3528 return true; 3529 }; 3530 3531 this.ksearch_visible = function() 3532 { 3533 return (this.ksearch_selected !== null && this.ksearch_selected !== undefined && this.ksearch_value); 3524 3534 }; 3525 3535
Note: See TracChangeset
for help on using the changeset viewer.
