Opened 12 years ago
Closed 12 years ago
#22399 closed defect (bug) (fixed)
"Insert link" modal window does no longer show recent items in existing content list
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Go to add a new post/page.
Click the "link" button in the editor toolbar.
Open the "Or link to existing content" list.
Problem: The initial list of existing content ist empty. No recent pages/posts are shown.
Only when typing a search word, items are shown.
In 3.4.2, the initial list shows the recent posts/pages just fine.
Chrome DevTools showed that the "wp-link-ajax" AJAX request is not fired when the list is first shown. It is only fired when searching.
Change History (6)
#2
@
12 years ago
The event being fired is dialogrefresh
(not the missing wp
prefix). Presumably a behaviour change in jQuery UI has stopped the event prefix override.
#3
@
12 years ago
Tracked this down to jQuery *UI* 1.9.1 — http://bugs.jqueryui.com/ticket/8724. Reverting https://github.com/jquery/jquery-ui/commit/848ab485839b6dd26f2b6c6680141d95cab32ceb fixes it. We don't actually use the event prefix override, but some code that went back in to fix people who were (as it is going away) seemed to break something for us. UI's scott.gonzalez is looking into it.
wpLink.refresh, which is bound to wpdialogrefresh (as in,
this._trigger('refresh')
in the wpdialog widget), isn't firing. Could be a jQuery UI thing.