gerrit/gerrit-gwtui
David Ostrovsky fc555d7854 Gerrit#updateUiLink: Fix access to undefined property
uiSwitcherLink attribute is instantiated conditionally, when PG UI was
not disabled. The invocation of setHref() method on it:

  uiSwitcherLink.setHref(getUiSwitcherUrl(token));

was done unconditionally. That leads to this error:

  (TypeError) : Cannot read property 'setHref' of undefined

Bug: Issue 5929
Change-Id: I872cdf7d41ab36e03126df54bb12c9071da5543d
2017-04-06 08:10:26 +00:00
..
src Gerrit#updateUiLink: Fix access to undefined property 2017-04-06 08:10:26 +00:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00