Skip to content

Instantly share code, notes, and snippets.

@george
Created October 11, 2012 03:12
Show Gist options
  • Save george/3869942 to your computer and use it in GitHub Desktop.
Save george/3869942 to your computer and use it in GitHub Desktop.
SocialRoi.ProgramEtoStaffMemberSalaryBlockView = Em.View.extend
templateName: 'reports/program_eto_staff_member_salary_block'
programEtoStaffMemberSalaryTextFieldView: Em.TextField.extend
classNames: 'span2 currency'.w()
transaction: null
init: ->
@_super()
# debugger
@set('transaction', SocialRoi.store.transaction())
@get('transaction').add(@get('content')) #=> Uncaught Error: assertion failed: You must pass a record into transaction.add()
change: (event) ->
@get('transaction').commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment