Clear timeout when reloading the buildbucket plugin

+ This was causing extra requests to be sent when the user changed
  the patch number in the change, which meant that the element was
  not detached so existing timers were still present.
+ Also adjusted horizontal padding to be in line with new UI changes
  even though it shouldn’t have much of an effect since it’s going
  to use the app’s CSS variable anyway.

Change-Id: Ie4d229c31fd244373df1f6ee6a57ac13fbd7ee9f
2 files changed
tree: 7acf7be7566b4afae10b67a2de78d3d571d76200
  1. src/
  2. .buckconfig
  3. .gitignore
  4. BUCK
  5. codereview.settings
  6. LICENSE
  7. README.md
README.md

Buildbucket Plugin for Gerrit

ln -s /path/to/buildbucket-plugin plugins/buildbucket
NO_BUCKD=1 buck build plugins/buildbucket && \
  cp buck-out/gen/plugins/buildbucket/buildbucket.jar ../gerrit_testsite/plugins/ && \
  ../gerrit_testsite/bin/gerrit.sh restart