summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-30 15:32:42 +0000
committerthomascube <thomas@roundcube.net>2011-10-30 15:32:42 +0000
commit2429cfde7887d1c92369cba972305a7f9ddddb18 (patch)
treed47ede5f39ed74e92146fde01ddbd7e31007daf9 /program
parent1937f4638e27d13ab1892d37df97dafe4dc7b696 (diff)
Avoid titles like 'undefined' or 'false'
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
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)