diff options
author | thomascube <thomas@roundcube.net> | 2011-10-30 15:32:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-10-30 15:32:42 +0000 |
commit | 2429cfde7887d1c92369cba972305a7f9ddddb18 (patch) | |
tree | d47ede5f39ed74e92146fde01ddbd7e31007daf9 | |
parent | 1937f4638e27d13ab1892d37df97dafe4dc7b696 (diff) |
Avoid titles like 'undefined' or 'false'
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index ce0f52f86..b2f3b08b8 100644 --- a/program/js/app.js +++ b/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) |