Skip to content

Commit

Permalink
[ #316278 ] IE9: File upload locks
Browse files Browse the repository at this point in the history
  • Loading branch information
avernet committed Nov 18, 2011
1 parent 2c3b3fc commit 3990abe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@
<!-- YUI file we changed -->
<include name="yui/button/button.js"/>
<include name="yui/container/container.js"/>
<include name="yui/connection/connection.js"/>
<include name="yui/treeview/treeview.js"/>
<include name="yui/examples/treeview/assets/js/TaskNode.js"/>
<include name="yui/examples/treeview/assets/js/CheckOnClickNode.js"/>
Expand Down
9 changes: 0 additions & 9 deletions src/resources-packaged/ops/yui/connection/connection-min.js

This file was deleted.

9 changes: 7 additions & 2 deletions src/resources-packaged/ops/yui/connection/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1086,8 +1086,10 @@ YAHOO.util.Connect =
* @for Connect
*/
(function(){
// Orbeon change. See http://wiki.orbeon.com/forms/developer-documentation/yahoo-ui-library-yui
var YCM = YAHOO.util.Connect,
YE = YAHOO.util.Event;
YE = YAHOO.util.Event,
dM = document.documentMode ? document.documentMode : false;
/**
* @description Property modified by setForm() to determine if the data
* should be submitted as an HTML form.
Expand Down Expand Up @@ -1334,9 +1336,12 @@ YAHOO.util.Connect =
// IE does not allow the setting of id and name attributes as object
// properties via createElement(). A different iframe creation
// pattern is required for IE.
// Orbeon change. See http://wiki.orbeon.com/forms/developer-documentation/yahoo-ui-library-yui
var frameId = 'yuiIO' + this._transaction_id,
ie9 = (dM === 9) ? true : false,
io;
if(YAHOO.env.ua.ie){

if(YAHOO.env.ua.ie && !ie9){
io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />');

// IE will throw a security exception in an SSL environment if the
Expand Down

0 comments on commit 3990abe

Please sign in to comment.