summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/blueprint/BlueprintSettings.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-26 16:10:42 -0400
committerJules Laplace <jules@okfoc.us>2015-08-26 16:10:42 -0400
commit0e03cb3c4065e002be50d37e80ddfab1407c8e6b (patch)
tree56b79c22ff352ba892ee07801cf0a22b269c7429 /public/assets/javascripts/ui/blueprint/BlueprintSettings.js
parente350f13c3772d0f1f4053ce3c1a1dbc43713e4d0 (diff)
popup notice to start a project
Diffstat (limited to 'public/assets/javascripts/ui/blueprint/BlueprintSettings.js')
-rw-r--r--public/assets/javascripts/ui/blueprint/BlueprintSettings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/blueprint/BlueprintSettings.js b/public/assets/javascripts/ui/blueprint/BlueprintSettings.js
index 0870a11..e41962e 100644
--- a/public/assets/javascripts/ui/blueprint/BlueprintSettings.js
+++ b/public/assets/javascripts/ui/blueprint/BlueprintSettings.js
@@ -37,7 +37,6 @@ var BlueprintSettings = FormView.extend(ToggleableView.prototype).extend({
shapes.deserialize( data.shapes )
shapes.build()
}
- this.data = data
},
clear: function(){
@@ -107,11 +106,14 @@ var BlueprintSettings = FormView.extend(ToggleableView.prototype).extend({
},
success: function(data){
+ this.parent.data = data
+
this.$id.val(data._id)
this.$name.val(data.name)
this.action = this.updateAction
this.hide()
+ this.parent.notice.showCreateProjectNotice()
Minotaur.unwatch(this)
Minotaur.hide()