summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-12 10:07:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-12 10:07:10 +0000
commitc07116f6b7517e083a6e423a1de1967916a0af76 (patch)
tree32a029423c91fc9b9636b9cb6a86ecae003aca90
parenteced3c00ed1c84ea4531646cd1746e4708ebcf8f (diff)
- Fix "false" placeholder in contact notes textarea
git-svn-id: https://svn.roundcube.net/trunk@6066 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 978a31627..eba53bd56 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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)