From fd068c05a7ff1498d947ceacbde6d8cf7f060ba9 Mon Sep 17 00:00:00 2001 From: thomasb Date: Sun, 30 Oct 2011 15:32:42 +0000 Subject: Avoid titles like 'undefined' or 'false' git-svn-id: https://svn.roundcube.net/trunk@5378 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index ce0f52f86..b2f3b08b8 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -4385,7 +4385,7 @@ function rcube_webmail() elem.focus(function(){ ref.focus_textfield(this); }) .blur(function(){ ref.blur_textfield(this); }) - .each(function(){ this._placeholder = this.title = ref.env.coltypes[col].label; ref.blur_textfield(this); }); + .each(function(){ this._placeholder = this.title = (ref.env.coltypes[col].label || ''); ref.blur_textfield(this); }); }; this.insert_edit_field = function(col, section, menu) -- cgit v1.2.3