diff options
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/base.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js index e8eba89f..f9844b70 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js | |||
@@ -214,10 +214,11 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
214 | if (this.views.design && (!view || view === 'design')) { | 214 | if (this.views.design && (!view || view === 'design')) { |
215 | // | 215 | // |
216 | this.parentContainer.removeChild(this.views.design.iframe); | 216 | this.parentContainer.removeChild(this.views.design.iframe); |
217 | this.views.design.pauseAndStopVideos(); | ||
217 | this.views.design = null; | 218 | this.views.design = null; |
218 | } | 219 | } |
219 | // | 220 | // |
220 | if (callback) callback(success); | 221 | return success; |
221 | } | 222 | } |
222 | } | 223 | } |
223 | //////////////////////////////////////////////////////////////////// | 224 | //////////////////////////////////////////////////////////////////// |