Decode paths for TiddlyFox

print-window-tiddler
Jeremy Ruston 2013-03-19 18:36:27 +00:00
rodzic 5a6c2b91f8
commit 28707edd72
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ TiddlyFoxSaver.prototype.save = function(text) {
if(messageBox) {
// Create the message element and put it in the message box
var message = document.createElement("div");
message.setAttribute("data-tiddlyfox-path",document.location.pathname);
message.setAttribute("data-tiddlyfox-path",decodeURIComponent(document.location.pathname));
message.setAttribute("data-tiddlyfox-content",text);
messageBox.appendChild(message);
// Create and dispatch the custom event to the extension