summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-04-02 18:58:31 +0200
committerJules Laplace <jules@okfoc.us>2017-04-02 18:58:31 +0200
commitea8f146f08408a62f9171214510ceaa71229d141 (patch)
tree140d2cd4f49af6630827cf30caa5bcb49721f8e6 /StoneIsland/www/js/lib/products/ProductView.js
parent4e0a5729f0437902f83ada7033625c359bf88ab6 (diff)
no longer displaying number as its own thing
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index a261218d..802ee6b6 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -17,7 +17,6 @@ var ProductView = ScrollableView.extend({
this.scroller = new IScroll('#product', app.iscroll_options)
this.$productHeader = this.$(".product-header")
- this.$num = this.$(".num")
this.$title = this.$(".title")
this.$type = this.$(".type")
this.$price = this.$(".price")
@@ -114,9 +113,7 @@ var ProductView = ScrollableView.extend({
var descriptions = this.get_descriptions(details)
- var name_partz = data['ModelNames'].split(' ')
- var num = name_partz.shift()
- var title = name_partz.join(' ')
+ var title = data['ModelNames']
var type = title_case( data['MicroCategory'] )
var price = "$" + data['DiscountedPrice'] + ".00"
var details_description = descriptions['Details'] || ""
@@ -165,7 +162,6 @@ var ProductView = ScrollableView.extend({
console.log( data['DefaultCode10'] )
- this.$num.html(num)
this.$title.html(title)
this.$type.html(type)
this.$price.html(price)