commit | bc82a9096fce3d25aaa425665fb7a0e234754186 | [log] [tgz] |
---|---|---|
author | Stephen Li <stephenli@google.com> | Thu Oct 26 14:17:15 2017 -0700 |
committer | Jonathan Nieder <jrn@google.com> | Tue Nov 07 23:46:41 2017 +0000 |
tree | 1baf5c59d5b3b8e9f16b8b83bf4f27fcab23b593 | |
parent | e77d965a962556087510ce18c995bce46b9f3cf1 [diff] |
Adapt JS to work in PolyGerrit * Gerrit commit 172acf7e183d3c6ff2994a8ddf00847f4dbd6d34 (plugin.deprecated.onAction partial support, 2017-10-23) added support to PolyGerrit for the JS APIs this plugin needs. Make use of that support. * Use context.refresh and self.on instead of Gerrit.refresh and Gerrit.on, since PolyGerrit implements the former. Feature: Issue 6145 Change-Id: I12ef2d0df88ee8b953c64cc07ab27a8872ca9f2b