From 93a21f051f7e09c432013a26d0933030e3b99158 Mon Sep 17 00:00:00 2001 From: "ondrej.zara" Date: Mon, 15 Nov 2010 09:57:53 +0000 Subject: [PATCH] fixed issue #112 --HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40113 --- js/wwwsqldesigner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }