Show More
@@ -1,1 +1,1 b'' | |||||
1 | Subproject commit 87ff70d96567bf055eb94161a41e7b3e6da31b23 |
|
1 | Subproject commit 563c9e74b153e9509d94fd448353eeda13f0819c |
@@ -94,7 +94,7 b' define([' | |||||
94 | " message was from. Widget will not be displayed")); |
|
94 | " message was from. Widget will not be displayed")); | |
95 | } else { |
|
95 | } else { | |
96 | return this.display_view_in_cell(cell, model) |
|
96 | return this.display_view_in_cell(cell, model) | |
97 |
.catch(utils.reject(' |
|
97 | .catch(utils.reject('Could not display view', true)); | |
98 | } |
|
98 | } | |
99 | }; |
|
99 | }; | |
100 |
|
100 |
@@ -137,14 +137,14 b' define(["widgets/js/manager",' | |||||
137 | that._resolve_received_state[parent_id].call(); |
|
137 | that._resolve_received_state[parent_id].call(); | |
138 | delete that._resolve_received_state[parent_id]; |
|
138 | delete that._resolve_received_state[parent_id]; | |
139 | } |
|
139 | } | |
140 |
}).catch(utils.reject("Couldn't resolve state request promise |
|
140 | }).catch(utils.reject("Couldn't resolve state request promise", true)); | |
141 | break; |
|
141 | break; | |
142 | case 'custom': |
|
142 | case 'custom': | |
143 | this.trigger('msg:custom', msg.content.data.content); |
|
143 | this.trigger('msg:custom', msg.content.data.content); | |
144 | break; |
|
144 | break; | |
145 | case 'display': |
|
145 | case 'display': | |
146 | this.widget_manager.display_view(msg, this) |
|
146 | this.widget_manager.display_view(msg, this) | |
147 |
.catch(utils.reject('Could not display view |
|
147 | .catch(utils.reject('Could not process display view msg', true)); | |
148 | break; |
|
148 | break; | |
149 | } |
|
149 | } | |
150 | }, |
|
150 | }, | |
@@ -159,7 +159,7 b' define(["widgets/js/manager",' | |||||
159 | } finally { |
|
159 | } finally { | |
160 | that.state_lock = null; |
|
160 | that.state_lock = null; | |
161 | } |
|
161 | } | |
162 |
} |
|
162 | }).catch(utils.reject("Couldn't set model state", true)); | |
163 | }, |
|
163 | }, | |
164 |
|
164 | |||
165 | get_state: function() { |
|
165 | get_state: function() { |
General Comments 0
You need to be logged in to leave comments.
Login now