mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-31 01:48:02 +00:00
Include URI in TiddlyFox confirmation prompt
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user