mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed PJAX panel loading when .cms-content is a split panel with tree and form view (regression caused by 452a507cc9
)
This commit is contained in:
parent
5070cb3a8b
commit
5cfbac63a2
@ -297,7 +297,7 @@
|
||||
if($.path.isExternal($(node).find('a:first'))) url = url = $.path.makeUrlAbsolute(url, $('base').attr('href'));
|
||||
// Reload only edit form if it exists (side-by-side view of tree and edit view), otherwise reload whole panel
|
||||
if(container.find('.cms-edit-form').length) {
|
||||
container.entwine('ss').loadPanel(url, null, {selector: '.cms-edit-form'});
|
||||
container.entwine('ss').loadPanel(url, null, {selector: '.cms-edit-form', pjax: 'CurrentForm'});
|
||||
} else {
|
||||
container.entwine('ss').loadPanel(url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user