Sha256: e38d6fcb1267fbc79fbb9dffc411a93f25fb03ac19cd0e0d4debf02630514761

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

RightnowOms.ShowCartItemView = Ember.View.extend
  tagName: 'dl'
  templateName: 'rightnow_oms/app/templates/cart_items/show'

  toggleChildren: ->
    hidden = @get('isChildrenHidden')
    @set('isChildrenHidden', !hidden)

  deleteRecord: ->
    item = this.get('cartItem')
    RightnowOms.cartController.removeCartItem(item.get('id'), true)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rightnow_oms-0.1.6 app/assets/javascripts/rightnow_oms/app/views/cart_items/show.js.coffee
rightnow_oms-0.1.4 app/assets/javascripts/rightnow_oms/app/views/cart_items/show.js.coffee
rightnow_oms-0.1.3 app/assets/javascripts/rightnow_oms/app/views/cart_items/show.js.coffee