diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-26 16:10:42 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-26 16:10:42 -0400 |
| commit | 0e03cb3c4065e002be50d37e80ddfab1407c8e6b (patch) | |
| tree | 56b79c22ff352ba892ee07801cf0a22b269c7429 /public/assets/javascripts/ui/blueprint/BlueprintView.js | |
| parent | e350f13c3772d0f1f4053ce3c1a1dbc43713e4d0 (diff) | |
popup notice to start a project
Diffstat (limited to 'public/assets/javascripts/ui/blueprint/BlueprintView.js')
| -rw-r--r-- | public/assets/javascripts/ui/blueprint/BlueprintView.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/assets/javascripts/ui/blueprint/BlueprintView.js b/public/assets/javascripts/ui/blueprint/BlueprintView.js index 3095cfe..6f1d2f5 100644 --- a/public/assets/javascripts/ui/blueprint/BlueprintView.js +++ b/public/assets/javascripts/ui/blueprint/BlueprintView.js @@ -17,6 +17,7 @@ var BlueprintView = View.extend({ this.scaler = new BlueprintScaler ({ parent: this }) this.info = new BlueprintInfo ({ parent: this }) this.settings = new BlueprintSettings ({ parent: this }) + this.notice = new BlueprintNotice ({ parent: this }) }, load: function(name){ @@ -48,9 +49,13 @@ var BlueprintView = View.extend({ }, ready: function(data){ + this.data = data this.info.load(data) this.settings.load(data) this.editor.loadFloorplan(data) + if (! data.isNew) { + this.notice.showCreateProjectNotice() + } }, hideExtras: function(){ |
