diff options
author | Thomas Tempelmann <tempelmann@gmail.com> | 2015-06-16 09:53:38 +0200 |
---|---|---|
committer | Thomas Tempelmann <tempelmann@gmail.com> | 2015-06-16 09:53:38 +0200 |
commit | 580311c8b421992389cef82fb74fd99182c0d1c7 (patch) | |
tree | 35a7206951f601a7f9d0bb165bb2fccc8c7dfcaf /js/io.js | |
parent | ff7112cdd368a8e0a031c4b02db2158b6fa75a8e (diff) | |
download | wwwsqldesigner-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.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |