Closed Bug 565395 Opened 14 years ago Closed 14 years ago

Use z.anonymous to check for loggedIn status

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbalogh, Assigned: wenzel)

Details

(Whiteboard: [z])

zamboni/addon_details.js checks for login status with this:

        loggedIn: $(document.body).attr('data-anonymous')

We already have that in z.anonymous, which is set in zamboni/init.js.

I'm fixing other bugs right now, so you're getting a new bug. ;)
That can be arranged.
Severity: normal → trivial
Priority: -- → P5
Hm, apparently this was only used in a stars() call, whose selector did not match anything. All gone:

http://github.com/jbalogh/zamboni/commits/94f71bf

QA: If you can still submit a review with rating from the details page, all is well.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.