From 39daa0f89694f758f0544fce7ec48ed3230eea2c Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 14 Apr 2010 17:57:35 +0000 Subject: - Fix new contact group selection on IE (#1486630) git-svn-id: https://svn.roundcube.net/trunk@3488 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 8b5460ac4..57a1a8ee9 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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 = $('').attr('href', '#').attr('onclick', "return rcmail.command('listgroup','"+prop.id+"',this)").html(prop.name); + var link = $('').attr('href', '#') + .bind('click', function() { return rcmail.command('listgroup', prop.id, this);}) + .html(prop.name); var li = $('
  • ').attr('id', 'rcmli'+key).addClass('contactgroup').append(link); $(this.gui_objects.folderlist).append(li); -- cgit v1.2.3