Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#6707 closed bug (cantfix)

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...

Change History (4)

comment:1 Changed 11 years ago by eithe

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.

comment:2 Changed 10 years ago by Scott González


comment:3 Changed 10 years ago by mikesherov

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.

comment:4 Changed 10 years ago by mikesherov

Component: ui.droppableui.draggable
Note: See TracTickets for help on using tickets.