Go to file
Stefan Beller 3bb4767be7 ChangeScreen: Avoid race condition for revision changes
loadConfigInfo called renderChangeInfo which called renderRevisionInfo with
an empty argument list to initialise the the revision action buttons.
The call to renderChangeInfo however was done via a callback, such that
we are not sure how long it takes until renderChangeInfo is called.

By moving loadRevisionInfo which load the actual revision action info
into that callback we can be sure to not have a race of the callback
for the callchain as described above and the callback in loadRevisionInfo
to render the correct revision info.

This will add one round trip time, however it actually fixes a bug.

Bug: issue 3192
Change-Id: I186ca5306a29e785981c809c92d51f7a0fb3e71a
2015-02-19 18:59:29 +00:00
2014-12-18 11:16:03 +09:00
2013-11-30 01:53:00 -08:00
2015-02-13 21:13:14 +00:00
2015-02-19 11:24:46 +09:00
2015-02-18 23:08:10 +00:00
2013-11-09 07:45:00 +01:00
2015-01-23 17:56:02 +09:00
2014-05-19 11:41:31 -07:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
2014-07-23 12:05:35 +09:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB