mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Don't allow $:/Import tiddler to be imported
This commit is contained in:
parent
b862348b06
commit
18c00c2ef0
|
@ -13,7 +13,7 @@ Upgrader module that suppresses certain system tiddlers that shouldn't be import
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var DONT_IMPORT_LIST = ["$:/StoryList","$:/HistoryList"],
|
var DONT_IMPORT_LIST = ["$:/StoryList","$:/HistoryList"],
|
||||||
DONT_IMPORT_PREFIX_LIST = ["$:/temp/","$:/state/"],
|
DONT_IMPORT_PREFIX_LIST = ["$:/temp/","$:/state/","$:/Import"],
|
||||||
WARN_IMPORT_PREFIX_LIST = ["$:/core/modules/"];
|
WARN_IMPORT_PREFIX_LIST = ["$:/core/modules/"];
|
||||||
|
|
||||||
exports.upgrade = function(wiki,titles,tiddlers) {
|
exports.upgrade = function(wiki,titles,tiddlers) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user