1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00

Include URI in TiddlyFox confirmation prompt

This commit is contained in:
Jeremy Ruston 2012-09-14 17:29:54 +01:00
parent b173fa115d
commit f13a0d7d95

View File

@ -22,13 +22,13 @@ var TiddlyFox = {
win = doc.defaultView;
// If it is a TiddlyWiki classic
if(TiddlyFox.isTiddlyWikiClassic(doc,win)) {
if(confirm("TiddlyFox: Enabling TiddlyWiki file saving capability")) {
if(confirm("TiddlyFox: Enabling TiddlyWiki file saving capability for:\n" + doc.location)) {
TiddlyFox.injectScript(doc);
TiddlyFox.injectMessageBox(doc);
}
// If it is a TiddlyWiki5
} else if(TiddlyFox.isTiddlyWiki5(doc,win)) {
if(confirm("TiddlyFox: Enabling TiddlyWiki5 file saving capability")) {
if(confirm("TiddlyFox: Enabling TiddlyWiki5 file saving capability for:\n" + doc.location)) {
TiddlyFox.injectMessageBox(doc);
}
}