Show More
@@ -277,13 +277,6 class Widget(LoggingConfigurable): | |||||
277 | ---------- |
|
277 | ---------- | |
278 | view_name: unicode (optional) |
|
278 | view_name: unicode (optional) | |
279 | View to display in the frontend. Overrides view_name.""" |
|
279 | View to display in the frontend. Overrides view_name.""" | |
280 | view_name = kwargs.get('view_name', self.view_name) |
|
|||
281 |
|
||||
282 | # Create a communication. |
|
|||
283 | self._open_communication() |
|
|||
284 |
|
||||
285 | # Make sure model is syncronized |
|
|||
286 | self.send_state() |
|
|||
287 |
|
280 | |||
288 | # Show view. |
|
281 | # Show view. | |
289 | self._send({"method": "display", "view_name": view_name}) |
|
282 | self._send({"method": "display", "view_name": view_name}) |
General Comments 0
You need to be logged in to leave comments.
Login now