summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/editor/WallpaperPicker.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-21 13:03:03 -0400
committerJules Laplace <jules@okfoc.us>2014-10-21 13:03:03 -0400
commita8c9c1198a8872c7ebcf3db920d2de3fe721bfc3 (patch)
treeaabe6a41c3c709699886aad54aed0701cb2ac4af /public/assets/javascripts/ui/editor/WallpaperPicker.js
parent6dadb217e8253138936d4f5180f9cefa6e7caed9 (diff)
move fileupload out
Diffstat (limited to 'public/assets/javascripts/ui/editor/WallpaperPicker.js')
-rw-r--r--public/assets/javascripts/ui/editor/WallpaperPicker.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/public/assets/javascripts/ui/editor/WallpaperPicker.js b/public/assets/javascripts/ui/editor/WallpaperPicker.js
index 994fe74..6e0d5c6 100644
--- a/public/assets/javascripts/ui/editor/WallpaperPicker.js
+++ b/public/assets/javascripts/ui/editor/WallpaperPicker.js
@@ -40,9 +40,6 @@ var WallpaperPicker = UploadView.extend({
hide: function(){
this.toggle(false)
},
-// hide: function(){
-// this.__super__.hide.call(this)
-// },
toggle: function (state) {
Scenery.nextWallpaper = null
@@ -158,6 +155,7 @@ var WallpaperPicker = UploadView.extend({
pickWall: function(wall){
if (! wall.background || wall.background.src == "none") {
this.$wallpaperResizeControls.addClass('disabled')
+ this.$scale.val( 0.0 )
return;
}
this.$wallpaperResizeControls.removeClass('disabled')