Ticket #417: ticket417.patch
| File ticket417.patch, 0.8 kB (added by MartinBudden, 10 months ago) |
|---|
-
js/TiddlyWiki.js
old new 565 565 var title = match[1] ? match[1] : match[4]; 566 566 tiddler = this.fetchTiddler(title); 567 567 if(tiddler) { 568 results.push (tiddler);568 results.pushUnique(tiddler); 569 569 } else if(store.isShadowTiddler(title)) { 570 570 tiddler = new Tiddler(); 571 571 tiddler.set(title,store.getTiddlerText(title)); 572 results.push (tiddler);572 results.pushUnique(tiddler); 573 573 } 574 574 } else if(match[2]) { 575 575 //# matches (eg) [text[more text]] 576 576 if(match[2]=="tag") { 577 577 this.forEachTiddler(function(title,tiddler) { 578 578 if(tiddler.isTagged(match[3])) 579 results.push (tiddler);579 results.pushUnique(tiddler); 580 580 }); 581 581 } 582 582 }