diff options
author | alecpl <alec@alec.pl> | 2012-04-12 10:07:10 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-12 10:07:10 +0000 |
commit | 28391b4ec32d25f688f9d8a96a66e484d6864e67 (patch) | |
tree | 05060abdd884443e2c47ae048409b37c83e6ed8b | |
parent | c71e95b775f94ac39a0b83c7cdbd15c4f545f557 (diff) |
- Fix "false" placeholder in contact notes textarea
-rw-r--r-- | program/js/app.js | 5 |
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) |