Mercurial > libervia-web
diff src/browser/sat_browser/richtext.py @ 574:b07f0fe2763a
browser_side: safer attributes handling in getOrCreateLiberviaWidget + use it to create MUC panels
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 18 Oct 2014 13:16:56 +0200 |
parents | 97c72fe4a5f2 |
children | b97c85b8a47e |
line wrap: on
line diff
--- a/src/browser/sat_browser/richtext.py Fri Oct 17 13:26:33 2014 +0200 +++ b/src/browser/sat_browser/richtext.py Sat Oct 18 13:16:56 2014 +0200 @@ -461,7 +461,7 @@ target = None if target == "@@" else target[1:] else: _class = panels.ChatPanel - self.host.getOrCreateLiberviaWidget(_class, target) + self.host.getOrCreateLiberviaWidget(_class, {'item': target}) return True def syncFromEditor(self, content):