What version are you running?
1.6.9
What's the URL of the page containing the problem?
https://reviewboard.apache.org
What steps will reproduce the problem?
_apiCall: function(options) {
var self = this;
options.prefix = this.prefix;
options.path = "/review-requests/" + this.id + options.path;
if (!options.success) {
options.success = function() {
window.location = self.path;
};
}
rbApiCall(options);
}
I think you mean for the line to be:
options.path = "/review-requests/" + this.id + (options.path || '');
I see 'undefined' being appended to the path member of the options object.