# HG changeset patch # User souliane # Date 1393419026 -3600 # Node ID b90744ec426e4692c64565f380d55535299df7cc # Parent 06fbe60559257b64d86c8dd84686d9d02cb473d1 browser_side: refresh the ChatPanel and MicroblogPanel when they are opened from a drag and drop diff -r 06fbe6055925 -r b90744ec426e browser_side/panels.py --- a/browser_side/panels.py Wed Feb 26 09:19:53 2014 +0100 +++ b/browser_side/panels.py Wed Feb 26 13:50:26 2014 +0100 @@ -633,6 +633,7 @@ host.FillMicroblogPanel(_new_panel) host.bridge.call('getMassiveLastMblogs', _new_panel.massiveInsert, _type, _items, 10) host.setSelected(_new_panel) + _new_panel.refresh() return _new_panel @classmethod @@ -1040,6 +1041,7 @@ _new_panel = ChatPanel(host, _contact) # XXX: pyjamas doesn't seems to support creating with cls directly _new_panel.historyPrint() host.setSelected(_new_panel) + _new_panel.refresh() return _new_panel def refresh(self):