On Thursday, January 15, 2015 at 8:04:13 PM UTC-6, PE Pat wrote:
>
> I'm using TiddlyWiki to help with lesson planning - I'm a teacher. As part 
> of the program, I have a list of tiddlers that correspond to skills I want 
> students to learn. Each skill has an associated list of tasks that I could 
> use to help teach the skill.
>
> However, if I decide to delete a task, it's title still remains in all the 
> lists. If I create a new task, it might have the same title (e.g. "Task 2") 
> as the deleted task, and then it pops up in a list where I don't want it. 
> I'm using a slightly modified version of BJ's taglist widget. I made this 
> modification:
>
> TagListWidget.prototype.getTiddlerList = function() {
>        var defaultFilter = "[list["+ this.listtag + "!!" + this.listField + 
> "]is[tiddler]]";
>       return 
> this.wiki.filterTiddlers(this.getAttribute("filter",defaultFilter),this);//BJ 
> FIXME should not allow user defined filters
> };
>
>
> Somehow, this immediately filters out all deleted tiddlers visually -- the 
> display refreshes, the deleted tiddlers are removed -- but the list still 
> contains the deleted tiddler until I make some other change to the list 
>
How can I make it so that if I delete a tiddler, it is removed from all 
> lists? Btw this also applies to tiddlers that are used as tags.
>
I may extend the 'listtag' widget to include your usage, but I don't 
understand why you need to 'physically' remove the deleted tiddler from all 
list.  
 

> Thanks,
> Patrick
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to