| Summary | Undefined Object Line 79 Mailbox.php IE7 |
| Queue | IMP |
| Queue Version | 4.1.6 |
| Type | Bug |
| State | Not A Bug |
| Priority | 1. Low |
| Owners | |
| Requester | jacob (at) mediashaker (dot) com |
| Created | 5/6/09 (6183 days ago) |
| Due | |
| Updated | 5/12/09 (6177 days ago) |
| Assigned | |
| Resolved | 5/12/09 (6177 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Not A Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Undefined Object Line 79 Mailbox.php IE7
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
corresponding function inside of keybindings.js.
I noticed inside of keybindings.js that you're using an array to hash
keycodes.
In IE 7 (and possibly other browsers) if you want to do hashing it's
better to use an object because:
var a = [];
a[0] = 'foo';
a[100] = 'bar';
Will result in the array being populated with nulls from 0->100.
Of course, maybe you're modifying the array prototype or something
like that and are working around this.
I tested the following change:
var _keyMap = new Array();
to
var _keyMap = {};
With improved results.