Skip to main content

Search and Top Navigation

#6707 closed bug (cantfix)

Opened December 01, 2010 12:22AM UTC

Closed October 29, 2012 04:29AM UTC

Last modified October 29, 2012 04:30AM UTC

Draggable: IE8 + SSL + button background image = security warning

Reported by: dqhendricks Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.draggable Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

When you use jquery ui to drag and drop an element on ie8, with ssl on, and a custom background image in a form submit button, you get a mixed content warning from IE.

The background image is a relative path and loads fine initially, but when you drag and drop it (this triggers an element swap using jquery appendTo method), the dreaded mixed content warning message appears. The strange thing is that many other elements in the draggable have background images, but the warning message only occurs when the submit button with a background image is on the element that is to be moved. This is most likely an IE8 bug, but there has to be a work around that someone can code into this.

I know of a similar mixed content warning bug for ie 8 that occurs when you remove an element that has a background image from the DOM. The workaround was to set the css background-image to none before removing the element from the DOM.

IE...the gift that keeps on giving...

Attachments (0)
Change History (4)

Changed May 26, 2011 08:58AM UTC by eithe comment:1

I'm now seeing the same thing here (currently using jquery-ui-1.8.13 (latest of writing)).

Fortunately I could replace the background images used in my draggable objects to <img> instead so I was able to solve it that way.

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:2


Changed October 29, 2012 04:29AM UTC by mikesherov comment:3

resolution: → cantfix
status: newclosed
summary: UI-Draggable + IE8 + SSL + button background image = warningDraggable: IE8 + SSL + button background image = security warning

Thanks for contributing! As mentioned in there are workarounds for this bug that you can implement, but nothing in jQuery UI itself that we can do to fix this issue. I'm marking this as cantfix, but please use the workarounds listed.

Changed October 29, 2012 04:30AM UTC by mikesherov comment:4

component: ui.droppableui.draggable