aboutsummaryrefslogtreecommitdiff
path: root/js/io/document/document-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/document/document-controller.js')
-rwxr-xr-xjs/io/document/document-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/io/document/document-controller.js b/js/io/document/document-controller.js
index c2a2dab6..6dc7e670 100755
--- a/js/io/document/document-controller.js
+++ b/js/io/document/document-controller.js
@@ -293,6 +293,9 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
293 nextDocumentIndex = closeDocumentIndex - 1; 293 nextDocumentIndex = closeDocumentIndex - 1;
294 } 294 }
295 this.application.ninja.stage.stageView.switchDocument(this._documents[nextDocumentIndex]); 295 this.application.ninja.stage.stageView.switchDocument(this._documents[nextDocumentIndex]);
296 }else{
297 //if there are no documents to switch to then just show the iframeContainer
298 document.getElementById("iframeContainer").style.display="block";
296 } 299 }
297 } 300 }
298 }, 301 },