summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-10-30 15:32:42 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-10-30 15:32:42 +0000
commitfd068c05a7ff1498d947ceacbde6d8cf7f060ba9 (patch)
treef9c74b5a3f1f4907c3b175d4d20dac942a768b68 /roundcubemail/program
parent503d294b45207e87f24b9fee4d7e021f322cfe4d (diff)
Avoid titles like 'undefined' or 'false'
git-svn-id: https://svn.roundcube.net/trunk@5378 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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)