http://trac.tiddlywiki.org/changeset/9784

JeremyRuston
2009-05-27 08:34:27 +0000 (Wed, 27 May 2009)
94
[fileplugin] fixed problem with unnecessarily loading TiddlySaver applet when 
loaded over HTTP

---------------

U   Trunk/core/jquery/plugins/jquery.twFile.js

---------------

Modified: Trunk/core/jquery/plugins/jquery.twFile.js
===================================================================
--- Trunk/core/jquery/plugins/jquery.twFile.js  2009-05-27 08:17:31 UTC (rev 
9783)
+++ Trunk/core/jquery/plugins/jquery.twFile.js  2009-05-27 08:34:27 UTC (rev 
9784)
@@ -199,7 +199,7 @@
        drivers.tiddlySaver = {
                name: "tiddlySaver",
                deferredInit: function() {
-                       if(!document.applets["TiddlySaver"] && 
!$.browser.mozilla && !$.browser.msie) {
+                       if(!document.applets["TiddlySaver"] && 
!$.browser.mozilla && !$.browser.msie && 
document.location.toString().substr(0,5) == "file:") {
                                $(document.body).append("<applet 
style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' 
archive='TiddlySaver.jar' width='1'height='1'></applet>");
                        }
                },

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to