##// END OF EJS Templates
Missing return...
Jason Grout -
Show More
@@ -646,7 +646,7 b' define(["widgets/js/manager",'
646 * returns a promise that resolves after this removal is done
646 * returns a promise that resolves after this removal is done
647 */
647 */
648 var that = this;
648 var that = this;
649 Promise.all(this.views).then(function(views) {
649 return Promise.all(this.views).then(function(views) {
650 for (var i = 0; i < that.views.length; i++) {
650 for (var i = 0; i < that.views.length; i++) {
651 that._remove_view.call(that._handler_context, views[i]);
651 that._remove_view.call(that._handler_context, views[i]);
652 }
652 }
General Comments 0
You need to be logged in to leave comments. Login now