import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -1,8 +1,8 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
/**
* The drag and drop utility provides a framework for building drag and drop
@ -3450,27 +3450,6 @@ YAHOO.extend(YAHOO.util.DDProxy, YAHOO.util.DD, {
Dom.setStyle(_data, 'opacity', '0');
div.appendChild(_data);
/**
* It seems that IE will fire the mouseup event if you pass a proxy element over a select box
* Placing the IFRAME element inside seems to stop this issue
*/
if (YAHOO.env.ua.ie) {
//Only needed for Internet Explorer
var ifr = document.createElement('iframe');
ifr.setAttribute('src', 'javascript: false;');
ifr.setAttribute('scrolling', 'no');
ifr.setAttribute('frameborder', '0');
div.insertBefore(ifr, div.firstChild);
Dom.setStyle(ifr, 'height', '100%');
Dom.setStyle(ifr, 'width', '100%');
Dom.setStyle(ifr, 'position', 'absolute');
Dom.setStyle(ifr, 'top', '0');
Dom.setStyle(ifr, 'left', '0');
Dom.setStyle(ifr, 'opacity', '0');
Dom.setStyle(ifr, 'zIndex', '-1');
Dom.setStyle(ifr.nextSibling, 'zIndex', '2');
}
// appendChild can blow up IE if invoked prior to the window load event
// while rendering a table. It is possible there are other scenarios
// that would cause this to happen as well.
@ -3728,4 +3707,4 @@ YAHOO.extend(YAHOO.util.DDTarget, YAHOO.util.DragDrop, {
return ("DDTarget " + this.id);
}
});
YAHOO.register("dragdrop", YAHOO.util.DragDropMgr, {version: "2.6.0", build: "1321"});
YAHOO.register("dragdrop", YAHOO.util.DragDropMgr, {version: "2.7.0", build: "1799"});

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
/**
* The drag and drop utility provides a framework for building drag and drop
@ -3347,27 +3347,6 @@ YAHOO.extend(YAHOO.util.DDProxy, YAHOO.util.DD, {
Dom.setStyle(_data, 'opacity', '0');
div.appendChild(_data);
/**
* It seems that IE will fire the mouseup event if you pass a proxy element over a select box
* Placing the IFRAME element inside seems to stop this issue
*/
if (YAHOO.env.ua.ie) {
//Only needed for Internet Explorer
var ifr = document.createElement('iframe');
ifr.setAttribute('src', 'javascript: false;');
ifr.setAttribute('scrolling', 'no');
ifr.setAttribute('frameborder', '0');
div.insertBefore(ifr, div.firstChild);
Dom.setStyle(ifr, 'height', '100%');
Dom.setStyle(ifr, 'width', '100%');
Dom.setStyle(ifr, 'position', 'absolute');
Dom.setStyle(ifr, 'top', '0');
Dom.setStyle(ifr, 'left', '0');
Dom.setStyle(ifr, 'opacity', '0');
Dom.setStyle(ifr, 'zIndex', '-1');
Dom.setStyle(ifr.nextSibling, 'zIndex', '2');
}
// appendChild can blow up IE if invoked prior to the window load event
// while rendering a table. It is possible there are other scenarios
// that would cause this to happen as well.
@ -3619,4 +3598,4 @@ YAHOO.extend(YAHOO.util.DDTarget, YAHOO.util.DragDrop, {
return ("DDTarget " + this.id);
}
});
YAHOO.register("dragdrop", YAHOO.util.DragDropMgr, {version: "2.6.0", build: "1321"});
YAHOO.register("dragdrop", YAHOO.util.DragDropMgr, {version: "2.7.0", build: "1799"});