Hi,
i'm trying to get PJAX loadFragment to work, but I got stuck at the begining. I added pjaxNegotiator callback in TestAdmin (extends ModelAdmin), and set data-pjax-fragment attribute on the element I want to replace, but I get following error:
TypeError: $(...).loadFragment is not a function
$('.cms-container').loadFragment('admin/tests/', 'VulnerabilityInfo');
Looking at the events attached around the DOM tree of the document, there isn't anywhere that event attached to any element (not even .cms-container div).
What am I missing here? I followed instructions at http://doc.silverstripe.org/framework/en/trunk/reference/cms-architecture#loading-lightweight-pjax-fragments but it's not working.