summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-15 12:59:06 -0400
committerJules Laplace <jules@okfoc.us>2014-10-15 12:59:06 -0400
commit86121b6f8ad112c35a07bc98b161572648517f12 (patch)
tree1d943ce731c95450f8db0ed9d785f5a24157ba36 /public
parent7089dded0589d45b00a6d4f2a3d1eb2adcf11d1b (diff)
fix
Diffstat (limited to 'public')
-rw-r--r--public/assets/javascripts/ui/editor/WallpaperPicker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/editor/WallpaperPicker.js b/public/assets/javascripts/ui/editor/WallpaperPicker.js
index 541ab31..9583376 100644
--- a/public/assets/javascripts/ui/editor/WallpaperPicker.js
+++ b/public/assets/javascripts/ui/editor/WallpaperPicker.js
@@ -13,7 +13,8 @@ var WallpaperPicker = UploadView.extend({
},
- initialize: function(){
+ initialize: function(opt){
+ this.parent = opt.parent
this.__super__.initialize.call(this)
this.$swatches = this.$(".swatches")
this.$remove = this.$(".wallpaperRemove")