Skip to content
This repository
Browse code

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
Ingo Schommer authored April 12, 2012
2  admin/javascript/LeftAndMain.Content.js
@@ -297,7 +297,7 @@
297 297
 					if($.path.isExternal($(node).find('a:first'))) url = url = $.path.makeUrlAbsolute(url, $('base').attr('href'));
298 298
 					// Reload only edit form if it exists (side-by-side view of tree and edit view), otherwise reload whole panel
299 299
 					if(container.find('.cms-edit-form').length) {
300  
-						container.entwine('ss').loadPanel(url, null, {selector: '.cms-edit-form'});
  300
+						container.entwine('ss').loadPanel(url, null, {selector: '.cms-edit-form', pjax: 'CurrentForm'});
301 301
 					} else {
302 302
 						container.entwine('ss').loadPanel(url);	
303 303
 					}

0 notes on commit 5cfbac6

Please sign in to comment.
Something went wrong with that request. Please try again.