diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-25 08:11:23 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-25 08:11:23 +0000 |
| commit | 275d2dd6707ab9bbf437d406b72e3590d86b5fa9 (patch) | |
| tree | f0520953d2b7e108a602a82cd5b529eb403aa72c | |
| parent | 0d935023c5c17362ae289fcbab17c677b57872ce (diff) | |
Better jqueryfication
git-svn-id: https://svn.roundcube.net/trunk@3661 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 7cf6efcbd..9b22eb24c 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -3837,9 +3837,10 @@ function rcube_webmail() var link = $('<a>').attr('href', '#') .bind('click', function() { return rcmail.command('listgroup', prop, this);}) .html(prop.name); - var li = $('<li>').attr('id', 'rcmli'+key).addClass('contactgroup').append(link); - var pli = this.get_folder_li(prop.source) - $(li).insertAfter(pli); + var li = $('<li>').attr('id', 'rcmli'+key) + .addClass('contactgroup') + .append(link) + .insertAfter(this.get_folder_li(prop.source)); this.triggerEvent('insertgroup', { id:prop.id, source:prop.source, name:prop.name, li:li[0] }); }; |
