Mercurial > kallithea
comparison rhodecode/public/js/yui/uploader/uploader.js @ 1073:289ff43cc190 beta
update YUI dev libs to latest version
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 20 Feb 2011 20:58:07 +0100 |
parents | 1e757ac98988 |
children |
comparison
equal
deleted
inserted
replaced
1072:8320d5cdccd0 | 1073:289ff43cc190 |
---|---|
1 /* | 1 /* |
2 Copyright (c) 2009, Yahoo! Inc. All rights reserved. | 2 Copyright (c) 2010, Yahoo! Inc. All rights reserved. |
3 Code licensed under the BSD License: | 3 Code licensed under the BSD License: |
4 http://developer.yahoo.net/yui/license.txt | 4 http://developer.yahoo.com/yui/license.html |
5 version: 2.8.0r4 | 5 version: 2.8.2r1 |
6 */ | 6 */ |
7 /*extern ActiveXObject, __flash_unloadHandler, __flash_savedUnloadHandler */ | 7 /*extern ActiveXObject, __flash_unloadHandler, __flash_savedUnloadHandler */ |
8 /*! | 8 /*! |
9 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ | 9 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ |
10 * | 10 * |
504 | 504 |
505 //again, a useful ExternalInterface trick | 505 //again, a useful ExternalInterface trick |
506 swfObj.addVariable("allowedDomain", document.location.hostname); | 506 swfObj.addVariable("allowedDomain", document.location.hostname); |
507 | 507 |
508 //tell the SWF which HTML element it is in | 508 //tell the SWF which HTML element it is in |
509 swfObj.addVariable("elementID", swfID); | 509 swfObj.addVariable("YUISwfId", swfID); |
510 | 510 |
511 // set the name of the function to call when the swf has an event | 511 // set the name of the function to call when the swf has an event |
512 swfObj.addVariable("eventHandler", "YAHOO.widget.FlashAdapter.eventHandler"); | 512 swfObj.addVariable("YUIBridgeCallback", "YAHOO.widget.FlashAdapter.eventHandler"); |
513 if (buttonSkin) { | 513 if (buttonSkin) { |
514 swfObj.addVariable("buttonSkin", buttonSkin); | 514 swfObj.addVariable("buttonSkin", buttonSkin); |
515 } | 515 } |
516 var container = YAHOO.util.Dom.get(containerID); | 516 var container = YAHOO.util.Dom.get(containerID); |
517 var result = swfObj.write(container); | 517 var result = swfObj.write(container); |
1064 disable : function () | 1064 disable : function () |
1065 { | 1065 { |
1066 this._swf.disable(); | 1066 this._swf.disable(); |
1067 } | 1067 } |
1068 }); | 1068 }); |
1069 YAHOO.register("uploader", YAHOO.widget.Uploader, {version: "2.8.0r4", build: "2449"}); | 1069 YAHOO.register("uploader", YAHOO.widget.Uploader, {version: "2.8.2r1", build: "7"}); |