Closed Bug 452739 Opened 16 years ago Closed 16 years ago

"$ is not defined" error on category landing pages; stylesheets and elements missing

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: wenzel)

References

()

Details

(Keywords: regression)

https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:72

Error: $ is not defined
Source File: https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:72
Line: 101

(which, according to the Error Console, is:)

$("#lver-td input").remove();

Also, the page is missing its stylesheet.
Looks like something went awry when running the build script we have, because the output is:

<link rel="stylesheet" type="text/css" href="/css/style.min.css?CSS_REVISION" media="all" />

<snip>

<script type="text/javascript" src="/js/jquery.addons.min.js?JS_REVISION"></script>

Both CSS_REVISION and JS_REVISION are raw, and should be numbers, instead.
Fatal error: Call to undefined method ImageComponent::urlForAddonIcon() in /Users/fred/dev/addons/site/app/views/addons/category_landing.thtml on line 101

Introduced by fligtar in r17880.
Assignee: nobody → fwenzel
Target Milestone: --- → 3.5
By the way I have a patch ready to commit, but it's blocked on bug 452789.
Fixed in r18009.

PS: It weirds me out how I have to click twice to mark a bug fixed, then scroll to the bottom, then click commit. :(((
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED; thanks, Fred!
Status: RESOLVED → VERIFIED
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.