diff options
Diffstat (limited to 'js/dojo-1.6/dojox/embed/IE/flash.js')
| -rw-r--r-- | js/dojo-1.6/dojox/embed/IE/flash.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/js/dojo-1.6/dojox/embed/IE/flash.js b/js/dojo-1.6/dojox/embed/IE/flash.js new file mode 100644 index 0000000..471fc44 --- /dev/null +++ b/js/dojo-1.6/dojox/embed/IE/flash.js @@ -0,0 +1,26 @@ +/*
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+
+// *** Fricking Eolas. This is here to get around the Eolas issue. Sigh. ***************
+dojox.embed.Flash.place = function(kwArgs, node){
+ var o = dojox.embed.Flash.__ie_markup__(kwArgs);
+ node=dojo.byId(node);
+
+ if(!node){
+ node=dojo.doc.createElement("div");
+ node.id=o.id+"-container";
+ dojo.body().appendChild(node);
+ }
+
+ if(o){
+ node.innerHTML = o.markup;
+ //return window[o.id];
+ return o.id;
+ }
+ return null;
+}
+dojox.embed.Flash.onInitialize();
|
