diff options
author | alecpl <alec@alec.pl> | 2010-04-14 17:57:35 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-14 17:57:35 +0000 |
commit | 58892824a6ee7f9a545372730b615ec9abafbe5c (patch) | |
tree | 808af2a449b332a704d90f29e5766bcecf827398 /program | |
parent | 6c11ee29ddefbef5e26d0a1fe13dbb2185612bba (diff) |
- Fix new contact group selection on IE (#1486630)
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 8b5460ac4..57a1a8ee9 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3738,7 +3738,9 @@ function rcube_webmail() var key = 'G'+prop.id; this.env.contactfolders[key] = this.env.contactgroups[key] = prop; - var link = $('<a>').attr('href', '#').attr('onclick', "return rcmail.command('listgroup','"+prop.id+"',this)").html(prop.name); + var link = $('<a>').attr('href', '#') + .bind('click', function() { return rcmail.command('listgroup', prop.id, this);}) + .html(prop.name); var li = $('<li>').attr('id', 'rcmli'+key).addClass('contactgroup').append(link); $(this.gui_objects.folderlist).append(li); |