define ["./events", "./dom", "./zone"],
(events, dom, zone) ->
dom.onDocument "change", "select[data-update-zone]", ->
containingZone = zone.findZone this
if containingZone
containingZone.trigger events.zone.refresh,
url: @attr "data-update-url"
parameters:
"t:selectvalue": @value()
return
return