From 2429cfde7887d1c92369cba972305a7f9ddddb18 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 30 Oct 2011 15:32:42 +0000 Subject: Avoid titles like 'undefined' or 'false' --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/app.js') 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) -- cgit v1.2.3