Page MenuHomePhabricator

When changing the visibility of a field, the drop down/button no longer works until the page is refreshed
Closed, ResolvedPublic

Description

When going to Special:UpdateProfile, the drop-down button for changing the visibility of fields stops to work when you change it, until you reload the page.

For example, setting visibility of a field from public to private causes it to not respond to user interaction anymore until you reload the page. Apparently the button gets replaced with the response from the server, but something in JavaScript fails to reassign the events appropriately.

Event Timeline

Restricted Application added a project: Social-Tools. · View Herald TranscriptAug 26 2018, 4:51 PM
Ciencia_Al_Poder moved this task from Backlog to Bugs on the SocialProfile board.Aug 26 2018, 4:56 PM

If fixing this is not quick and easy, it may be worth doing T158620

Change 455399 had a related patch set uploaded (by Jack Phoenix; owner: Jack Phoenix):
[mediawiki/extensions/SocialProfile@master] Better JS selectors so that you can change the visibility of a profile field multiple times, the way it's supposed to be usable

https://gerrit.wikimedia.org/r/455399

Change 455399 merged by jenkins-bot:
[mediawiki/extensions/SocialProfile@master] Better JS selectors so that you can change the visibility of a profile field multiple times, the way it's supposed to be usable

https://gerrit.wikimedia.org/r/455399

ashley closed this task as Resolved.Aug 26 2018, 6:08 PM
ashley claimed this task.