diff options
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.js')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 248bc8c4..fa0c8788 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js | |||
@@ -203,5 +203,11 @@ exports.DocumentBar = Montage.create(Component, { | |||
203 | this.currentView = event._event.target.id; | 203 | this.currentView = event._event.target.id; |
204 | this.application.ninja.documentController.stage.stageView.switchDesignDocViews(event._event.target.id);//switch between design view | 204 | this.application.ninja.documentController.stage.stageView.switchDesignDocViews(event._event.target.id);//switch between design view |
205 | } | 205 | } |
206 | }, | ||
207 | |||
208 | handlePreviewAction: { | ||
209 | value: function(event) { | ||
210 | NJevent("executePreview"); | ||
211 | } | ||
206 | } | 212 | } |
207 | }); | 213 | }); |