summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-03-20 22:47:24 +0000
committerthomascube <thomas@roundcube.net>2012-03-20 22:47:24 +0000
commit4cf42fde05ff891f6961ba60dbb1c2e4c91c39c6 (patch)
tree75e1520d4dbf92a9b8c0ae9ab3136fa2623d4172 /program/js/app.js
parenta71a97fa49fb1c7fbe5e042b2cf6239f7372acb4 (diff)
Add support for read-only address book records
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 94e48a823..53a67c7ad 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4229,7 +4229,7 @@ function rcube_webmail()
};
// add row to contacts list
- this.add_contact_row = function(cid, cols, select)
+ this.add_contact_row = function(cid, cols, classes)
{
if (!this.gui_objects.contactslist)
return false;
@@ -4238,7 +4238,7 @@ function rcube_webmail()
row = document.createElement('tr');
row.id = 'rcmrow'+this.html_identifier(cid);
- row.className = 'contact';
+ row.className = 'contact ' + (classes || '');
if (list.in_selection(cid))
row.className += ' selected';