Bug Tracker

Modify

Ticket #11180 (closed bug: invalid)

Opened 16 months ago

Last modified 15 months ago

document.defaultview.getcomputedstyle null

Reported by: Mike Helmick <mikehelmick@…> Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:

Description

Related to http://bugs.jquery.com/ticket/8763, I believe.

SWFUpload is trying to load in a page that is loaded in through an iframe that is hidden in a div, and then shown.

The div is hidden, src (that includes swfupload) is added to iframe, iframe is appended to div, then div is shown.

SWFUpload throws: line 274 - swfupload.js

document.defaultView.getComputedStyle(targetElement, null) is null
[Break On This Error] wrapperType = (targetElement.curre...play")) !== "block" ? "span" : "div"; 

SWFUpload v2.2

I know there are newer versions out of SWFUpload, but yeah; this needs looked at.

Change History

comment:1 Changed 16 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

It would be best to start with a test case that reproduces the problem, using the latest plugin, and report it to the maintainers of swfupload.js since the error occurs in that code.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.