Show More
@@ -593,7 +593,7 b' define(["widgets/js/manager",' | |||
|
593 | 593 | // returns a promise that resolves after this removal is done |
|
594 | 594 | var that = this; |
|
595 | 595 | this.state_change = this.state_change.then(function() { |
|
596 |
for (var i = 0 |
|
|
596 | for (var i = 0; i < that.views.length; i++) { | |
|
597 | 597 | that._remove_view.call(that._handler_context, that.views[i]); |
|
598 | 598 | } |
|
599 | 599 | that._models = []; |
General Comments 0
You need to be logged in to leave comments.
Login now