1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-29 21:45:16 +00:00

Rename "tw-*" messages to "tm-*"

This commit is contained in:
Jermolene
2014-08-28 21:43:44 +01:00
parent db40ac85c2
commit 2f69ea362c
106 changed files with 211 additions and 211 deletions

View File

@@ -19,7 +19,7 @@ exports.after = ["startup"];
exports.synchronous = true;
exports.startup = function() {
$tw.rootWidget.addEventListener("tw-set-password",function(event) {
$tw.rootWidget.addEventListener("tm-set-password",function(event) {
$tw.passwordPrompt.createPrompt({
serviceName: "Set a new password for this TiddlyWiki",
noUserName: true,
@@ -33,7 +33,7 @@ exports.startup = function() {
}
});
});
$tw.rootWidget.addEventListener("tw-clear-password",function(event) {
$tw.rootWidget.addEventListener("tm-clear-password",function(event) {
$tw.crypto.setPassword(null);
});
// Ensure that $:/isEncrypted is maintained properly