diff options
author | Tom Needham <needham.thomas@gmail.com> | 2011-10-05 20:49:08 +0100 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2011-10-05 20:49:08 +0100 |
commit | 30343f15e206de739fda126417cf7392d8de5c8a (patch) | |
tree | b8c4c10cf25815acd8c9c35d52cd38d68c5071bf /apps/contacts/js/interface.js | |
parent | edd958836e3cef5e93ae3ee59b4db398f8f86cad (diff) | |
parent | af6eb52b5ee8616d4dc36d51956b96345d9b26fb (diff) | |
download | nextcloud-server-30343f15e206de739fda126417cf7392d8de5c8a.tar.gz nextcloud-server-30343f15e206de739fda126417cf7392d8de5c8a.zip |
Merge branch 'master' of gitorious.org:owncloud/owncloud into ace-editor
Diffstat (limited to 'apps/contacts/js/interface.js')
-rw-r--r-- | apps/contacts/js/interface.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/contacts/js/interface.js b/apps/contacts/js/interface.js index 3ec84a3c8ba..47e9bb10b1f 100644 --- a/apps/contacts/js/interface.js +++ b/apps/contacts/js/interface.js @@ -104,6 +104,8 @@ $(document).ready(function(){ if(jsondata.status == 'success'){ $('#rightcontent').data('id',jsondata.data.id); $('#rightcontent').html(jsondata.data.page); + $('#leftcontent .active').removeClass('active'); + $('#leftcontent ul').append('<li data-id="'+jsondata.data.id+'" class="active"><a href="index.php?id='+jsondata.data.id+'">'+jsondata.data.name+'</a></li>'); } else{ alert(jsondata.data.message); |