summaryrefslogtreecommitdiffstats
path: root/js/io.js
diff options
context:
space:
mode:
authorThomas Tempelmann <tempelmann@gmail.com>2015-06-16 09:53:38 +0200
committerThomas Tempelmann <tempelmann@gmail.com>2015-06-16 09:53:38 +0200
commit580311c8b421992389cef82fb74fd99182c0d1c7 (patch)
tree35a7206951f601a7f9d0bb165bb2fccc8c7dfcaf /js/io.js
parentff7112cdd368a8e0a031c4b02db2158b6fa75a8e (diff)
downloadwwwsqldesigner-580311c8b421992389cef82fb74fd99182c0d1c7.zip
wwwsqldesigner-580311c8b421992389cef82fb74fd99182c0d1c7.tar.gz
wwwsqldesigner-580311c8b421992389cef82fb74fd99182c0d1c7.tar.bz2
Bugfix: SQL.IO.prototype.clientlocalload now aborts properly if Cancel button was chosen.
Diffstat (limited to 'js/io.js')
-rw-r--r--js/io.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/io.js b/js/io.js
index ea1b4b7..facbb78 100644
--- a/js/io.js
+++ b/js/io.js
@@ -157,6 +157,7 @@ SQL.IO.prototype.clientlocalsave = function() {
var key = this.promptName("serversaveprompt");
if (!key) { return; }
+
key = "wwwsqldesigner_databases_" + (key || "default");
try {
@@ -174,6 +175,8 @@ SQL.IO.prototype.clientlocalload = function() {
}
var key = this.promptName("serverloadprompt");
+ if (!key) { return; }
+
key = "wwwsqldesigner_databases_" + (key || "default");
try {
@@ -309,6 +312,7 @@ SQL.IO.prototype.dropboxsave = function() {
var key = this.promptName("serversaveprompt", ".xml");
if (!key) { return; }
+
var filename = (key || "default") + ".xml";
var sql_io = this;
@@ -328,6 +332,7 @@ SQL.IO.prototype.dropboxload = function() {
var key = this.promptName("serverloadprompt", ".xml");
if (!key) { return; }
+
var filename = (key || "default") + ".xml";
var sql_io = this;