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 | 05/06/2009 (5918 days ago) |
Due | |
Updated | 05/12/2009 (5912 days ago) |
Assigned | |
Resolved | 05/12/2009 (5912 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.