mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-14 11:05:47 +05:00
fetchIdDetails() restored `undefined` after its five attempts, which is the very value that makes it fire a request -- and two of its callers sit inside a view (people_sidebar's filter and map). Every redraw therefore restarted the whole six request chain, forever, for any identity the core never resolves. Mark the give-up state with `null` instead, like the loading state: attempted, not to be asked again. The copy icon still ran the old inline execCommand path, so copyId() was only reachable through shareId()'s fallback and its clipboard call could reject with no feedback at all. The icon now calls copyId(), the Clipboard API failure falls back to execCommand, and the popup reports a refused copy instead of claiming success. Same role/tabindex/keyboard treatment as the share icon next to it. |
||
|---|---|---|
| .. | ||
| boards | ||
| channels | ||
| chat | ||
| config | ||
| files | ||
| forums | ||
| network | ||
| people | ||
| scss | ||
| home.js | ||
| jdenticon.js | ||
| login.js | ||
| main.js | ||
| mithril.js | ||
| rswebui.js | ||
| statusbar.js | ||
| widgets.js | ||