mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Using loadPanel() rather than removed duplicate loadForm() method
This commit is contained in:
parent
9b79827972
commit
e91d49036b
@ -107,7 +107,7 @@
|
||||
var currNode = $('.cms-tree')[0].firstSelected();
|
||||
if(currNode) {
|
||||
var url = $(currNode).find('a').attr('href');
|
||||
$('.cms-content').loadForm(url);
|
||||
$('.cms-content').loadPanel(url);
|
||||
}
|
||||
$('.cms-tree')[0].setCustomURL('admin/assets/getsubtree');
|
||||
$('.cms-tree')[0].reload({onSuccess: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user