From 2429cfde7887d1c92369cba972305a7f9ddddb18 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 30 Oct 2011 11:32:42 -0400 Subject: [PATCH] Avoid titles like 'undefined' or 'false' --- 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 ce0f52f..b2f3b08 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4385,7 +4385,7 @@ 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) -- Gitblit v1.9.1