Clear coordinator fees when coordinator changes

This commit is contained in:
Rohan Mitchell
2013-07-30 13:46:30 +10:00
parent d64bcf0e94
commit 4a0e35deef
2 changed files with 7 additions and 1 deletions

View File

@@ -275,3 +275,9 @@ angular.module('order_cycle', ['ngResource'])
parsed = $parse(attrs.datetimepicker)
parsed.assign(scope, dateText)
])
.directive('ofwOnChange', ->
(scope, element, attrs) ->
element.bind 'change', ->
scope.$apply(attrs.ofwOnChange)
)