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:
parent
b173fa115d
commit
f13a0d7d95
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user