There's also this statement in a tiddler called MgtdIndexedTags:

TiddlyWiki.prototype.removeTiddler = this.removeTiddlerHijack;

Don't know if or how they relate, however I believe that they depend
on eachother - and are different representatives of the same
"listhack..."

I would be great if someone who has the skills - could/would create a
"listfilter hack" - or a simple transclusion - for us, who can't live
without ForeachTiddlerPlugin... :-)

Cheers Måns Mårtensson

On 30 Maj, 14:43, Måns <[email protected]> wrote:
> Hi Dave
>
> > In mGSD next to each task there is an x that you can click to delete
> > the task. I'd like to be able to have something like that show up in a
> > foreachtiddler list, to delete the tiddler from the list.
>
> +1
> I'm also interested in this function...
>
> I located the code in mGSD in the MgtdTagControls tiddler.
> If it could be turned into a transclusion - We could use it in our
> fETs :
>
> deleteTiddler: {
> handler: function(place,macroName,params,wikifier,paramString,tiddler)
> {
> var tiddlerToDelete = params[0];
> if (store.tiddlerExists(tiddlerToDelete)) {
> createTiddlyButton(place, '\u00d7', 'Delete tiddler '+tiddlerToDelete,
> function(e) {
> var deleteIt = true;
> if (config.options.chkConfirmDelete)
> deleteIt =
> confirm(config.commands.deleteTiddler.warning.format([tiddlerToDelete]));
> if (deleteIt) {
> story.closeTiddler(tiddlerToDelete);
> store.removeTiddler(tiddlerToDelete);
>
> }
> return false;
> },'deleteTiddlerButton');
> }
> }
> }
>
> Cheers Måns Mårtensson

-- 
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.

Reply via email to