diff browser_side/panels.py @ 380:5e0e2032928c

browser_side: bug fixes microblogs: - currently selected panel is taken in account when the unibox is toggled on - sending message to restricted groups from the editor that is integrated into MicroblogPanel now works
author souliane <souliane@mailoo.org>
date Tue, 25 Feb 2014 12:41:31 +0100
parents 30d03d9f07e4
children b90744ec426e
line wrap: on
line diff
--- a/browser_side/panels.py	Wed Feb 26 01:50:49 2014 +0100
+++ b/browser_side/panels.py	Tue Feb 25 12:41:31 2014 +0100
@@ -83,6 +83,7 @@
             self.setCellWidth(self.unibox, '100%')
             self.button.addClickListener(self.openRichMessageEditor)
             self.unibox.addKey("@@: ")
+            self.unibox.onSelectedChange(self.host.getSelected())
 
     def openRichMessageEditor(self):
         """Open the rich text editor."""