summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 978a31627..eba53bd56 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4545,10 +4545,13 @@ function rcube_webmail()
this.init_edit_field = function(col, elem)
{
+ var label = this.env.coltypes[col].label;
+
if (!elem)
elem = $('.ff_' + col);
- elem.placeholder(ref.env.coltypes[col].label);
+ if (label)
+ elem.placeholder(label);
};
this.insert_edit_field = function(col, section, menu)