summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/blueprint/BlueprintScaler.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-17 16:27:40 -0400
committerJules Laplace <jules@okfoc.us>2015-08-17 17:25:28 -0400
commit3c36de54b57422f34c367934fdf62873b881fa20 (patch)
tree19d39fdae8d0372a2c0c682de4b09f69d72045a1 /public/assets/javascripts/ui/blueprint/BlueprintScaler.js
parent599b43df07f092b35d25e7adac11db3c3b3d9c76 (diff)
integrate ortho3 stuff into blueprint views
Diffstat (limited to 'public/assets/javascripts/ui/blueprint/BlueprintScaler.js')
-rw-r--r--public/assets/javascripts/ui/blueprint/BlueprintScaler.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/assets/javascripts/ui/blueprint/BlueprintScaler.js b/public/assets/javascripts/ui/blueprint/BlueprintScaler.js
index 741f4fb..ff26c8e 100644
--- a/public/assets/javascripts/ui/blueprint/BlueprintScaler.js
+++ b/public/assets/javascripts/ui/blueprint/BlueprintScaler.js
@@ -7,7 +7,7 @@ var BlueprintScaler = ModalFormView.extend(AnimatedView.prototype).extend({
events: {
"change [name=blueprint-dimensions]": "changeDimensions",
"change [name=blueprint-units]": "changeUnits",
- "click .uploadNewBlueprint": "showBlueprintUpload",
+ "click .uploadNewBlueprint": "showUploader",
},
initialize: function(opt){
@@ -38,8 +38,8 @@ var BlueprintScaler = ModalFormView.extend(AnimatedView.prototype).extend({
this.floorplan = new MX.Image ()
},
- showBlueprintUpload: function(){
- this.parent.blueprintUpload.show()
+ showUploader: function(){
+ this.parent.uploader.show()
},
pick: function(media){