mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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();
|
var currNode = $('.cms-tree')[0].firstSelected();
|
||||||
if(currNode) {
|
if(currNode) {
|
||||||
var url = $(currNode).find('a').attr('href');
|
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].setCustomURL('admin/assets/getsubtree');
|
||||||
$('.cms-tree')[0].reload({onSuccess: function() {
|
$('.cms-tree')[0].reload({onSuccess: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user