Files
gerrit/polygerrit-ui/app
Paladox none bad26826e7 PolyGerrit: Fix changes not loading
We were prefixing the url twice since before we were doing

    _changeBaseURL(changeNum, opt_patchNum) {
      let v = '/changes/' + changeNum;
      if (opt_patchNum) {
        v += '/revisions/' + opt_patchNum;
      }
      return v;
    },

now we are doing

    changeBaseURL(changeNum, patchNum) {
      let v = this.getBaseUrl() + '/changes/' + changeNum;
      if (patchNum) {
        v += '/revisions/' + patchNum;
      }
      return v;
    },

But because the way we were doing it in gr-rest-api, some of the functions
were adding baseUrl allready, so when we called getBaseUrl in changeBaseURL
it was adding it twice.

Change-Id: I2f51fb3ac658ebb659eaf52c858eb113c2f07382
2017-06-01 16:17:18 +00:00
..
2017-02-13 10:14:49 -08:00
2017-05-22 18:09:35 +00:00
2017-03-03 08:12:45 -06:00