1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix TiddlyFox transfer attribute names

This commit is contained in:
Jeremy Ruston 2012-11-17 20:17:29 +00:00
parent e9d8405799
commit 705c88d1aa

View File

@ -20,8 +20,8 @@ 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("tiddlyfox-path",document.location.pathname);
message.setAttribute("tiddlyfox-content",text);
message.setAttribute("data-tiddlyfox-path",document.location.pathname);
message.setAttribute("data-tiddlyfox-content",text);
messageBox.appendChild(message);
// Create and dispatch the custom event to the extension
var event = document.createEvent("Events");