summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-11 02:28:43 -0500
committerJules Laplace <jules@okfoc.us>2015-11-11 02:28:43 -0500
commit93b3bded0286b2ec2e8b2f8210590ae7d052f09f (patch)
tree967b61a08cae3efe34b2e2eab801d5ea13780238 /StoneIsland/www/js/lib/products/ProductView.js
parent1d0bff6384549b05927690e60c8bf708eda834bf (diff)
make footer better
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
-rw-r--r--StoneIsland/www/js/lib/products/ProductView.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 9bfbe4a2..fd81f199 100644
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -20,6 +20,8 @@ var ProductView = ScrollableView.extend({
this.$size = this.$(".size")
this.$color = this.$(".color")
this.$body = this.$(".body")
+
+ app.footer.show("&lt; BACK TO SHOPPING", "ADD TO CART")
},
show: function(){
@@ -132,7 +134,12 @@ var ProductView = ScrollableView.extend({
this.$color.html(color.label)
}.bind(this))
},
-
+
+ ok: function(){
+ },
+ cancel: function(){
+ app.router.go('store')
+ },
share: function(){
},