Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
379:d2324f093942 | 380:5e0e2032928c |
---|---|
81 self.unibox = UniBox(self.host) | 81 self.unibox = UniBox(self.host) |
82 self.add(self.unibox) | 82 self.add(self.unibox) |
83 self.setCellWidth(self.unibox, '100%') | 83 self.setCellWidth(self.unibox, '100%') |
84 self.button.addClickListener(self.openRichMessageEditor) | 84 self.button.addClickListener(self.openRichMessageEditor) |
85 self.unibox.addKey("@@: ") | 85 self.unibox.addKey("@@: ") |
86 self.unibox.onSelectedChange(self.host.getSelected()) | |
86 | 87 |
87 def openRichMessageEditor(self): | 88 def openRichMessageEditor(self): |
88 """Open the rich text editor.""" | 89 """Open the rich text editor.""" |
89 self.button.setVisible(False) | 90 self.button.setVisible(False) |
90 self.unibox.setVisible(False) | 91 self.unibox.setVisible(False) |