base: Fix race in SeriesGrid
base: Fix race in SeriesGrid

The function grid.move() could call $.now() twice, which in some cases
return different values. Now we ensure that the same value is used.

Closes #3906
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

Scribery/cockpit,andreasn/cockpit,larsu/cockpit,dperpeet/cockpit,matobet/cockpit,harishanand95/cockpit,stefwalter/cockpit,martinpitt/cockpit,petervo/cockpit,Scribery/cockpit,larskarlitski/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,petervo/cockpit,matobet/cockpit,deryni/cockpit,arilivigni/cockpit,arilivigni/cockpit,vanloswang/cockpit,harishanand95/cockpit,sgallagher/cockpit,matobet/cockpit,arilivigni/cockpit,martinpitt/cockpit,andreasn/cockpit,mareklibra/cockpit,cockpit-project/cockpit,sgallagher/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,mareklibra/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,matobet/cockpit,mvollmer/cockpit,matobet/cockpit,moraleslazaro/cockpit,Scribery/cockpit,larskarlitski/cockpit,cockpituous/cockpit,harishanand95/cockpit,xhad/cockpit,mvollmer/cockpit,cockpituous/cockpit,andreasn/cockpit,stefwalter/cockpit,xhad/cockpit,vanloswang/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,andreasn/cockpit,xhad/cockpit,garrett/cockpit,michalskrivanek/cockpit,larsu/cockpit,stefwalter/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,Scribery/cockpit,garrett/cockpit,arilivigni/cockpit,mareklibra/cockpit,larsu/cockpit,petervo/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,cockpituous/cockpit,garrett/cockpit,mareklibra/cockpit,stefwalter/cockpit,petervo/cockpit,arilivigni/cockpit,andreasn/cockpit,deryni/cockpit,SotolitoLabs/cockpit,matobet/cockpit,mareklibra/cockpit,sgallagher/cockpit,deryni/cockpit,dperpeet/cockpit,larsu/cockpit,cockpit-project/cockpit,stefwalter/cockpit,martinpitt/cockpit,petervo/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,Scribery/cockpit,garrett/cockpit,larsu/cockpit,sgallagher/cockpit,vanloswang/cockpit,xhad/cockpit,deryni/cockpit,sgallagher/cockpit,mareklibra/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,vanloswang/cockpit,deryni/cockpit,deryni/cockpit,SotolitoLabs/cockpit,Scribery/cockpit,vanloswang/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,vanloswang/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,mvollmer/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,deryni/cockpit,moraleslazaro/cockpit,petervo/cockpit,xhad/cockpit,dperpeet/cockpit,xhad/cockpit,martinpitt/cockpit,michalskrivanek/cockpit,andreasn/cockpit,dperpeet/cockpit,mvollmer/cockpit,larsu/cockpit,sgallagher/cockpit,cockpituous/cockpit,harishanand95/cockpit,garrett/cockpit,dperpeet/cockpit,harishanand95/cockpit,harishanand95/cockpit,andreasn/cockpit,sgallagher/cockpit,petervo/cockpit,cockpituous/cockpit,xhad/cockpit,michalskrivanek/cockpit