jquery-resize icon indicating copy to clipboard operation
jquery-resize copied to clipboard

Permission Denied in at least IE8

Open tkasten opened this issue 11 years ago • 0 comments

This may be the same, related, or different error than cowboy#5.

At least in IE8 using Jquery 1.10.2 and BA-Resize 1.1:

If you bind a resize event to an child iframe's body (dynamically created iframe in my case, haven't tested others), everything works great until you navigate to another page in the iframe. Once the iframe page loads a second time (and any subsequent time), IE8 throws a "Permission denied" error and the resize event doesn't work after that.

I should disclose than I am also using Ben's EasyXDM, but the child iframe I am talking about is the one created by the producer, not the iframe communicating over EasyXDM. So although I haven't tested it, this point should be moot.

Surya Kumar posted a comment on the BA-Resize site at: http://benalman.com/projects/jquery-resize-plugin/#comment-1062838526

He references some code here as a proposed fix http://pastebin.com/dTSeLVfj

I've forked and committed it here: e6b718aa8e8c059636a6574d955906782c5896fa

tkasten avatar Dec 21 '13 20:12 tkasten