Thanks Måns for confirming my findings.
Looking through the release notes, its clear the FF people messed
around with the drag-drop routines again. Overall, it looks like the
code should be simpler going forward (looks like the FileDropPlugin
uses specialty component calls that may not be needed now), but for
the moment things are messed up.
The un-pretty hack I've made is to edit the entire TW source code,
changing the body tag to look like this:
<body onload="main();" onunload="if(window.unload) unload();"
ondragover="event.stopPropagation(); event.preventDefault();"
ondrop="event.stopPropagation();event.preventDefault();config.macros.fileDrop.dragDropHandler(event);"
>
That "ondragover" close appears to be necessary now.
Greater minds than mine willl have to come up with the elegant
solution. Its possible there are other changes that will require
further tweaking. Those %1, %2 ... options may have shifted. But the
simple example that comes with the plugin seems to work OK.
This is the second time in about 6 months that the FF people have
changed the drag/drop technology in FF. Last one was at 3.5. While I'm
sure its all for the better, they don't seem to be thinking about
backwards compatibility. This is making me wonder whether its smart to
be crafting a document management system based on underlying
technology that is so volatile.
Mark
On Mar 6, 2:18 pm, Måns <[email protected]> wrote:
> Nope - Filedropping doesn't work in a FF 3.6 Danish version either....
> Eric??
>
> On 6 Mar., 22:35, "Mark S." <[email protected]> wrote:
>
> > On one machine the FileDropPlugin works under FF 3.5.8 (XP). Or at
> > least does something like create a tiddler.
>
> > The exact same TW (version 2.5.3), doesn't work on a second machine
> > that is running FF 3.6.0 (XP). Instead of creating a tiddler, the TW
> > is replaced by the text file or image.
>
> > On both machines, the codebase option specified in the FileDropPlugin
> > has been set per the instructions. On both machine the FileDropPlugin
> > options have been set the same. I started with a clean TW, to make
> > sure that none of the code I've touched has been involved. I've also
> > disabled possible interlopers like the Google Toolbar. Still no luck.
> > I have the Core Tweaks installed.
>
> > Any more ideas? Anyone else able to get FDP to work under 3.6 ?
>
> > Thanks,
> > Mark
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en.