mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-01 20:14:55 +00:00
Return URL in document chooser response - fixes #2660
This commit is contained in:
parent
1479884773
commit
8f796cddfd
3 changed files with 3 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ Changelog
|
|||
* Fix: Removing embedded media from rich text by mouse click action now gets correctly registered as a change to the field (Loic Teixeira)
|
||||
* Fix: Rich text editor is no longer broken in InlinePanels (Matt Westcott, Yann Fouillat)
|
||||
* Fix: Rich text editor is no longer broken in settings (Matt Westcott)
|
||||
* Fix: Link tooltip now shows correct urls for newly inserted document links (Matt Westcott)
|
||||
|
||||
|
||||
1.5 (31.05.2016)
|
||||
|
|
|
|||
|
|
@ -18,3 +18,4 @@ Bug fixes
|
|||
* Removing embedded media from rich text by mouse click action now gets correctly registered as a change to the field (Loic Teixeira)
|
||||
* Rich text editor is no longer broken in InlinePanels (Matt Westcott, Yann Fouillat)
|
||||
* Rich text editor is no longer broken in settings (Matt Westcott)
|
||||
* Link tooltip now shows correct urls for newly inserted document links (Matt Westcott)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ def get_document_json(document):
|
|||
return json.dumps({
|
||||
'id': document.id,
|
||||
'title': document.title,
|
||||
'url': document.url,
|
||||
'edit_link': reverse('wagtaildocs:edit', args=(document.id,)),
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue