Update the password macro so that it can be used on the server

print-window-tiddler
Jeremy Ruston 2012-10-16 18:49:13 +01:00
rodzic 03623587e1
commit 35ddf7a81c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -20,8 +20,7 @@ exports.info = {
};
exports.executeMacro = function() {
var password = $tw.utils.getPassword(this.params.name);
password = password || "";
var password = $tw.browser ? $tw.utils.getPassword(this.params.name) : "";
var attributes = {
type: "password",
value: password