I seem to have made a mess of a simple fix. . .
http://www.strm.us/Private/IJSTaskManager.htm

I originally tried to just change the minimum amount, which didn't
seem to act as desired, (not sending the entire array to trash) so I
copied the code from below the statement I was changing to give If and
Else the same end result . . . (Display message, refresh ect.)

now I have a syntax error - I can't seem to track it down, possibly
the way it is nested?

If anyone has time to poke around, I would appreciate it - otherwise I
will continue to experiment.

Thanks,

Mike


On May 12, 4:39 pm, Mike <[email protected]> wrote:
> Awesome - I appreciate your continued assistance,
>
> Thx,
>
> Mike
>
> On May 12, 2:12 pm, Eric Shulman <[email protected]> wrote:
>
> > > I have (2) plugin variants I am 
> > > using:http://www.strm.us/Private/IJS%20TaskManager.htm#deleteAllTaggedPlugi...
>
> > > I would like to make the above compatible with TrashPlugin, so if a
> > > user has the plugin, the items will go to trash instead of being
> > > directly deleted.
>
> > > I am using TrashPlugin v1.1.0TT.4 (ELS variant)
>
> > > Any suggestions?
>
> > I've just refactored the TrashPlugin code to provide a suitable API:
> >    config.commands.deleteTiddler.sendToTrash(title)
>
> > For your purposes, you'll also want to check to make sure the function
> > exists before calling it, thus:
> > --------------------------
> > if (config.commands.deleteTiddler.sendToTrash)
> >    config.commands.deleteTiddler.sendToTrash(title);
> > else
> >    store.deleteTiddler(title);
> > --------------------------
>
> > Get the update (v1.1.0TT.5) here:
> >    http://www.TiddlyTools.com/#TrashPlugin
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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