summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-14 17:57:35 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-14 17:57:35 +0000
commit39daa0f89694f758f0544fce7ec48ed3230eea2c (patch)
treed266a2da3db396d93b5902e289b6e1d5b7cef70e /roundcubemail/program/js/app.js
parent8028ec0d879ec81ecdb1e18ff350cff63a9e0b74 (diff)
- Fix new contact group selection on IE (#1486630)
git-svn-id: https://svn.roundcube.net/trunk@3488 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 3 insertions, 1 deletions
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 = $('<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);