Closed Bug 552981 Opened 16 years ago Closed 16 years ago

search.js breaks when no search box is present on the page

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

Details

(Whiteboard: [z])

On pages without search box, search.js breaks with a JSON error: Error: JSON.parse Source File: http://localhost:8000/media//js/zamboni/search.js Line: 4
Assignee: nobody → fwenzel
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: 5.8 → ---
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.