mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Dynamic plugins: Fix registration of themes and languages
This commit is contained in:
parent
0017d441d9
commit
7f9823c5b2
@ -60,6 +60,8 @@ PluginSwitcher.prototype.switchPlugins = function() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
accumulatePlugin(selectedPluginTitle);
|
accumulatePlugin(selectedPluginTitle);
|
||||||
|
// Read the plugin info for the incoming plugins
|
||||||
|
var changes = $tw.wiki.readPluginInfo(plugins);
|
||||||
// Unregister any existing theme tiddlers
|
// Unregister any existing theme tiddlers
|
||||||
var unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);
|
var unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);
|
||||||
// Register any new theme tiddlers
|
// Register any new theme tiddlers
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
title: $:/config/RegisterPluginType/
|
title: $:/config/RegisterPluginType/
|
||||||
|
|
||||||
plugin: yes
|
plugin: yes
|
||||||
theme: yes
|
theme: no
|
||||||
language: yes
|
language: no
|
||||||
info: no
|
info: no
|
||||||
import: no
|
import: no
|
||||||
|
Loading…
Reference in New Issue
Block a user