Skip to content

Commit

Permalink
MINOR Fixed PJAX panel loading when .cms-content is a split panel wit…
Browse files Browse the repository at this point in the history
…h tree and form view (regression caused by 452a507)
  • Loading branch information
chillu committed Apr 12, 2012
1 parent 5070cb3 commit 5cfbac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/javascript/LeftAndMain.Content.js
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5cfbac6

Please sign in to comment.