mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-23 01:03:21 +00:00
Clear coordinator fees when coordinator changes
This commit is contained in:
@@ -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)
|
||||
)
|
||||
Reference in New Issue
Block a user