Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2639 by ddumont: Appending 'undefined' to options.path
http://code.google.com/p/reviewboard/issues/detail?id=2639

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

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.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to