diff --git a/chrome/content/bindings.xml b/chrome/content/bindings.xml index 0521f13..cbf62bb 100644 --- a/chrome/content/bindings.xml +++ b/chrome/content/bindings.xml @@ -1,6 +1,11 @@ - + + %sidebarDTD; + + %toolbarDTD; +]> - diff --git a/chrome/content/sidebar.js b/chrome/content/sidebar.js index 7b37c98..ee1df7b 100755 --- a/chrome/content/sidebar.js +++ b/chrome/content/sidebar.js @@ -230,9 +230,8 @@ function CreateFriendNode(list, friend, insertBefore) { item.setAttribute('ptime', fbLib.getProfileTime(friend.ptime) ); item.setAttribute('oncommand', "fbLib.OpenFBUrl('profile.php', '" + friend.id + "', event, null )"); item.setAttribute('viewUpdCmd', "fbLib.OpenFBUrl('profile.php', '" + friend.id + "', event, {highlight: null} ); return false;"); + item.setAttribute('profileCmd', "fbLib.OpenFBUrl('profile.php', '" + friend.id + "', event, null )"); item.setAttribute('msgCmd', "fbLib.OpenNewStyleFBUrl('messages', '" + friend.id + "', event, null )"); - item.setAttribute('pokeCmd', "fbLib.OpenFBUrl('poke.php', '" + friend.id + "', event, null )"); - item.setAttribute('postCmd', "fbLib.OpenFBUrl('wallpost.php', '" + friend.id + "', event, null )"); item.setAttribute('pic', friend.pic); list.insertBefore(item, insertBefore); }