Show More
@@ -77,7 +77,7 b'' | |||
|
77 | 77 | " message was from. Widget will not be displayed"); |
|
78 | 78 | } else { |
|
79 | 79 | var view = this.create_view(model, {cell: cell}); |
|
80 |
if (view === |
|
|
80 | if (view === null) { | |
|
81 | 81 | console.error("View creation failed", model); |
|
82 | 82 | } |
|
83 | 83 | if (cell.widget_subarea !== undefined |
@@ -101,6 +101,7 b'' | |||
|
101 | 101 | model.on('destroy', view.remove, view); |
|
102 | 102 | return view; |
|
103 | 103 | } |
|
104 | return null; | |
|
104 | 105 | }, |
|
105 | 106 | |
|
106 | 107 | WidgetManager.prototype.get_msg_cell = function (msg_id) { |
General Comments 0
You need to be logged in to leave comments.
Login now