Settings saving feedback

This commit is contained in:
2014-10-03 18:07:02 +02:00
parent 1cd5798dee
commit b22f93aec6
7 changed files with 48 additions and 47 deletions
@@ -2,7 +2,7 @@ attr = DS.attr
App.ProductOrder = DS.Model.extend
quantity: attr 'number', defaultValue: 1
price: attr 'number'
product: DS.belongsTo('product')
product: DS.belongsTo('product', async: true)
order: DS.belongsTo('order')
increment: ->
@set('quantity', @get('quantity') + 1)