diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-06 15:48:27 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-06 15:48:27 -0500 |
| commit | e6cac4737904750a80173ba8e7745d2b41370bd6 (patch) | |
| tree | a836b464dde30d3fec307d32737b91569a224706 /public/assets/javascripts/ui/editor/EditorView.js | |
| parent | 69cf6a5005dcd0e7fcebcc1db9bd290b5fb63ed1 (diff) | |
share vvbox comes up when clicking save
Diffstat (limited to 'public/assets/javascripts/ui/editor/EditorView.js')
| -rw-r--r-- | public/assets/javascripts/ui/editor/EditorView.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/assets/javascripts/ui/editor/EditorView.js b/public/assets/javascripts/ui/editor/EditorView.js index 2872ab9..3773366 100644 --- a/public/assets/javascripts/ui/editor/EditorView.js +++ b/public/assets/javascripts/ui/editor/EditorView.js @@ -21,6 +21,7 @@ var EditorView = View.extend({ this.textEditor = new TextEditor ({ parent: this }) this.collaborators = new Collaborators ({ parent: this }) this.presets = new Presets ({ parent: this }) + this.share = new ShareView ({ parent: this }) }, load: function(name){ @@ -41,6 +42,8 @@ var EditorView = View.extend({ ready: function(data){ $("#map").hide() + this.data = data + this.settings.load(data) this.info.load(data) }, @@ -70,6 +73,7 @@ var EditorView = View.extend({ hideExtras: function(){ this.mediaEditor.hide() this.textEditor.hide() + this.share.hide() Scenery.resize.hide() Scenery.hovering = false } |
