DescriptionTurns out IE8 treats this as an Array access rather than Object/Map:
window.frames["1234"]
This caused gadgets.rpc to break when the frame name consists only of isDigit characters.
I propose this patch as a way of centralizing the targetWindow retrieval mechanism for rpc. It also tries falling back to document.getElementById(...) if a window.frames find doesn't work.
Comments welcome.
Patch Set 1 #Patch Set 2 : Old patch accidentally uploaded. Fixed (correctly this time). #
Total comments: 1
Patch Set 3 : @Paul, sgtm. Style update. #
MessagesTotal messages: 6
|