Opened 9 years ago
Closed 9 years ago
#32036 closed defect (bug) (fixed)
Media views EmbedLink spinner
Reported by: | afercia | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Media | Keywords: | has-patch |
Focuses: | ui, javascript | Cc: |
Description
When inserting an embeddable media with "Insert from URL", the spinner is shown while you're typing. As I see it, shouldn't work this way. The spinner should be shown when you stop typing, the AJAX call fires and you're waiting for a response.
To reproduce:
- edit a post
- Add media > Insert from URL
- remove
http://
from the field and slowly type less then 6 characters - fetching the embed will start just if you type more than 6 characters but this is useful to clearly see what's happening
- for each character you type or remove (each
change
event), the spinner will be displayed
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
A few issues here:
Embed
andEmbedLink
), the change events will overlap, which is why the spinner is showing too oftenEmbedLink
should use the same sensitivity as defined by theEmbed
controller