mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-29 08:42:54 -07:00
This reverts commit a689f31978.
This commit is contained in:
parent
a689f31978
commit
24ef51df01
2 changed files with 2 additions and 27 deletions
|
|
@ -609,13 +609,10 @@ NavigatorWidget.prototype.handleUnfoldAllTiddlersEvent = function(event) {
|
|||
};
|
||||
|
||||
NavigatorWidget.prototype.handleRenameTiddlerEvent = function(event) {
|
||||
var options = {},
|
||||
paramObject = event.paramObject || {},
|
||||
var paramObject = event.paramObject || {},
|
||||
from = paramObject.from || event.tiddlerTitle,
|
||||
to = paramObject.to;
|
||||
options.dontRenameInTags = (paramObject.dontRenameInTags === "true" || paramObject.dontRenameInTags === "yes") ? true : false;
|
||||
options.dontRenameInLists = (paramObject.dontRenameInLists === "true" || paramObject.dontRenameInLists === "yes") ? true : false;
|
||||
this.wiki.renameTiddler(from,to,options);
|
||||
this.wiki.renameTiddler(from,to);
|
||||
};
|
||||
|
||||
exports.navigator = NavigatorWidget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue