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