6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8248] Undefined Object Line 79 Mailbox.php IE7
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. .. .. . . | || || || | | |__||__||/\||___|/\|
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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers