mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
ENHANCEMENT Reloading current edit form after 'look for new files' in AssetAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92819 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
615494f123
commit
f15e2d8da3
@ -49,6 +49,14 @@ var _HANDLER_FORMS = {
|
|||||||
jQuery(this).attr('action'),
|
jQuery(this).attr('action'),
|
||||||
function() {
|
function() {
|
||||||
button.removeClass('loading');
|
button.removeClass('loading');
|
||||||
|
|
||||||
|
// reload current
|
||||||
|
var currNode = $('#sitetree')[0].firstSelected();
|
||||||
|
if(currNode) {
|
||||||
|
var url = $(currNode).find('a').attr('href');
|
||||||
|
$('#Form_EditForm').concrete('ss').loadForm(url);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user