Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Fixed PJAX panel loading when .cms-content is a split panel wit…

…h tree and form view (regression caused by 452a507)
  • Loading branch information...
commit 5cfbac63a2e7f57fd9feabc8d89fe96118332e03 1 parent 5070cb3
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/javascript/LeftAndMain.Content.js
View
2  admin/javascript/LeftAndMain.Content.js
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.