Closed Bug 1013311 Opened 11 years ago Closed 11 years ago

Make Editor throwing JS error on page load

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: cade)

Details

Attachments

(1 file)

It looks like a recent MakeAPI client update added a check to the constructor, which is breaking a hack that the Make Editor was using. In order to use the admin protected search route, we provided an empty hawk credentials object in the constructor params. To fix this we just need a fake id and key value.
this change stops the client code from throwing.
Attachment #8425553 - Flags: review?(jon)
Comment on attachment 8425553 [details] [review] https://github.com/mozilla/MakeAPI/pull/219 What, no silly hex values like 0xDEADBEEF ? :)
Attachment #8425553 - Flags: review?(jon) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: