From 58892824a6ee7f9a545372730b615ec9abafbe5c Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 14 Apr 2010 17:57:35 +0000 Subject: - Fix new contact group selection on IE (#1486630) --- program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program') 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 = $('').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