summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-12 10:07:10 +0000
committeralecpl <alec@alec.pl>2012-04-12 10:07:10 +0000
commit28391b4ec32d25f688f9d8a96a66e484d6864e67 (patch)
tree05060abdd884443e2c47ae048409b37c83e6ed8b /program/js/app.js
parentc71e95b775f94ac39a0b83c7cdbd15c4f545f557 (diff)
- Fix "false" placeholder in contact notes textarea
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)