kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Text-slicer: Fix issue with missing destination title
rodzic
2a4a3d9fe9
commit
c5ac10024b
|
@ -1,5 +1,5 @@
|
|||
/*\
|
||||
title: $:/plugins/tiddlywiki/text-slicer/modules/startup/slicer.js
|
||||
title: $:/plugins/tiddlywiki/text-slicer/modules/startup/slicer-message.js
|
||||
type: application/javascript
|
||||
module-type: startup
|
||||
|
||||
|
@ -22,7 +22,7 @@ exports.synchronous = true;
|
|||
exports.startup = function() {
|
||||
$tw.rootWidget.addEventListener("tm-slice-tiddler",function(event) {
|
||||
var slicer = new $tw.Slicer($tw.wiki,event.param,{
|
||||
destTitle: event.paramObject.destTitle
|
||||
destTitle: event.paramObject && event.paramObject.destTitle
|
||||
});
|
||||
slicer.sliceTiddler(event.param)
|
||||
slicer.outputTiddlers();
|
||||
|
|
Ładowanie…
Reference in New Issue