summaryrefslogtreecommitdiffstats
path: root/js/wwwsqldesigner.js
diff options
context:
space:
mode:
authorondrej.zara <none@none>2010-11-15 09:57:53 +0000
committerondrej.zara <none@none>2010-11-15 09:57:53 +0000
commit93a21f051f7e09c432013a26d0933030e3b99158 (patch)
tree9ce5062144f961372d71b813323e93e317f9ea67 /js/wwwsqldesigner.js
parent6fd91aae8dbcdf7c72f798f1195d28bb73fa51bd (diff)
downloadwwwsqldesigner-93a21f051f7e09c432013a26d0933030e3b99158.zip
wwwsqldesigner-93a21f051f7e09c432013a26d0933030e3b99158.tar.gz
wwwsqldesigner-93a21f051f7e09c432013a26d0933030e3b99158.tar.bz2
fixed issue #112
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40113
Diffstat (limited to 'js/wwwsqldesigner.js')
-rw-r--r--js/wwwsqldesigner.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js
index 44c8484..1c4d046 100644
--- a/js/wwwsqldesigner.js
+++ b/js/wwwsqldesigner.js
@@ -217,7 +217,8 @@ SQL.Row.prototype.buildContent = function() {
SQL.Row.prototype.changeComment = function(e) {
var c = prompt(_("commenttext"),this.data.comment);
- this.data.comment = c || "";
+ if (c === null) { return; }
+ this.data.comment = c;
this.dom.comment.innerHTML = this.data.comment;
}