aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript
diff options
context:
space:
mode:
authorTeddy Wing2018-04-16 17:41:09 +0200
committerTeddy Wing2018-04-16 17:46:36 +0200
commit220e839fddec44c9a1e73fb5e7cd7f701faf726d (patch)
tree55a761fa34198ac1217753c798860e2f3d7c55e7 /app/javascript
parent85bea8da4f994496b636e2a79dae2f269acbd501 (diff)
downloadchouette-core-220e839fddec44c9a1e73fb5e7cd7f701faf726d.tar.bz2
Route: Don't run `#calculate_costs!` during a referential merge6410-route--don,t-run-calculate_costs-during-referential-mer
This callback got triggered during a referential merge, but it isn't needed at that point. It should only be executed as a result of a user updating the route (via the web interface). Using Alban's suggestion, we can detect that we're in the process of a merge if the associated referential is in a `ReferentialSuite`. Use this as a condition to run the callback. Refs #6410
Diffstat (limited to 'app/javascript')
0 files changed, 0 insertions, 0 deletions