Closed Bug 755117 Opened 9 years ago Closed 9 years ago

recommend button needs to reset when url changes

Categories

(Firefox Graveyard :: SocialAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mixedpuppy, Unassigned)

Details

moved from https://github.com/mozilla/socialapi-dev/issues/27

spec calls for, and it's implemented, that after a "user-recommend", the service may respond with a user-recommend-prompt-response so the icon and message change to reflect the action. However, while the recommend widget honors the second prompt response, it doesn't arrange to reset the prompt back to the default when URL changes (eg, tab switch, navigation, etc).

ie, if the server responds with a "you liked this!" after clicking, that new text would stay there forever!
fixed https://github.com/mozilla/socialapi-dev/commit/55ba90358e56b7123b4f997a5b76b839ac235eb2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.