Mercurial > libervia-web
diff browser_side/richtext.py @ 263:d3c734669577
browser_side: improvements for lists and contact groups manager:
- use DockPanel to deal with UI problems
- fixed issues with the autocomplete list
- avoid duplicate contacts in a contact list
- signal invalid contacts with a red border
- check for invalid contacts in the form before saving
- better genericity for the class DragAutoCompleteTextBox
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 11 Nov 2013 12:48:33 +0100 |
parents | 28d3315a8003 |
children | 52e60dd2bc43 |
line wrap: on
line diff
--- a/browser_side/richtext.py Mon Nov 11 10:44:44 2013 +0100 +++ b/browser_side/richtext.py Mon Nov 11 12:48:33 2013 +0100 @@ -259,6 +259,7 @@ # TODO: be sure we also display empty groups and disconnected contacts + their groups # store the full list of potential recipients (groups and contacts) list_ = [] + list_.append("@@") list_.extend("@%s" % group for group in parent.host.contact_panel.getGroups()) list_.extend(contact for contact in parent.host.contact_panel.getContacts()) ListManager.__init__(self, parent, composition.RECIPIENT_TYPES, list_)