Fix a couple problems calling RB.BaseResource.prototype.defaults

Review Request #8148 — Created May 6, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
f79893c...

Reviewers

There were a couple places that used BaseResource.defaults as if it were
just an object rather than a function. This fixes those up.

Ran js-tests.