diff options
author | Valerio Virgillito | 2012-07-18 16:24:17 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-18 16:24:17 -0700 |
commit | 5ae767d4d47d0ed6846c7928ec219a70c3706639 (patch) | |
tree | 63051c2c69d436799ce2673e8496360496565c06 /js/components/layout/document-bar.reel/document-bar.js | |
parent | c1360b71e30cff1d90d7a3476ff2878821534d39 (diff) | |
parent | 6f2e455a77179f81dfd19037c078c158d3e14ee2 (diff) | |
download | ninja-5ae767d4d47d0ed6846c7928ec219a70c3706639.tar.gz |
Merge branch 'menu-fixes' of https://github.com/mencio/ninja into v0.7.1
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 | }); |