6.0.0-beta1
7/19/25

[#8248] Undefined Object Line 79 Mailbox.php IE7
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

History
05/12/2009 02:13:10 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
Use a newer version, your IMP version is badly outdated.
05/06/2009 07:43:13 PM jacob (at) mediashaker (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Undefined Object Line 79 Mailbox.php IE7
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
IE 7 Bug. Occurs near setKeyBindings inside of javascript.inc and the 
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.

Saved Queries