As a idea (from the many interactions with FND) I created a minimum
test case, with only (3) active plugins
deleteCompleted, deleteAllTagged, Trash
. . . and I got the same results from Part 1&2 above

Any other troubleshooting ideas?
(if I disable TrashPlugin, and use the Else statement, everything
works like before I started to try and add compatibility to
TrashPlugin)

Thanks,

Mike

On May 15, 4:39 pm, Mike <[email protected]> wrote:
> Any other ideas, or anything else obvious to try?
> I appreciate the help so far - Too bad it wasn't a easy modification
> like I had originally hoped . . .
>
> Thanks,
>
> Mike
>
> On May 14, 3:56 pm, Mike <[email protected]> wrote:
>
> > Part (2)
> > When I add back in
> > config.commands.deleteTiddler.sendToTrash(collected[i]);
> > with
> > alert(collected[i]);
>
> > The first tiddler in the array sends to trash, if I empty the trash, I
> > can send the frist tiddler of the "new" array (and I get 1 alert box)
> > . . . acting the same with both plugins
>
> > Mike
>
> > On May 14, 3:47 pm, Mike <[email protected]> wrote:
>
> > > Thank you for the troubleshooting advice - I should have tried that.
> > > When I remove the config.commands.deleteTiddler.sendToTrash(collected
> > > [i]);
> > > and replace with alert(collected[i]);
>
> > > I get a popup for each tiddler in the array (on both plugins)
> > > these are what I would expect to be deleted / trashed
>
> > > So that much is working . . .
>
> > > Any other ideas?
>
> > > Mike
>
> > > On May 14, 2:04 pm, Eric Shulman <[email protected]> wrote:
>
> > > > > The offending line of code:
> > > > >          config.commands.deleteTiddler.sendToTrash(collected[i]);
>
> > > > That function takes just one argument: a tiddler title, and all it
> > > > does is to add some tags to the indicated tiddler, so I don't see how
> > > > that function could be interfering with a loop in the calling code
>
> > > > Try this test:
>
> > > > comment out the call to sendToTrash(), and add this line in its place:
> > > >    alert(collected[i]);
> > > > You should get a message box for each title.  If you don't, then that
> > > > means that something is going wrong with your loop, even before
> > > > sendToTrash() gets a chance to do anything.  If you do get a message
> > > > box for each title, then remove the comment from the sendToTrash()
> > > > call... but leave the alert()... do you *still* get a message box for
> > > > each title?  Let me know what you find out...
>
> > > > -e
--~--~---------~--~----~------------~-------~--~----~
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