mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR fix issue where javascript popup calendar would not fire (from r88836)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96787 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
568f808053
commit
2b4366b0d3
@ -263,13 +263,11 @@ batchactionsclass.prototype = {
|
|||||||
actionChanged: function() {
|
actionChanged: function() {
|
||||||
var urlSegment = $('choose_batch_action').value.split('/').pop();
|
var urlSegment = $('choose_batch_action').value.split('/').pop();
|
||||||
if ($('BatchActionParameters_'+urlSegment)) {
|
if ($('BatchActionParameters_'+urlSegment)) {
|
||||||
jQuery('#actionParams').empty();
|
jQuery('#BatchActionParameters .params').hide();
|
||||||
jQuery('#BatchActionParameters_'+urlSegment).appendTo('#actionParams');
|
jQuery('#BatchActionParameters_'+urlSegment).show();
|
||||||
$('actionParams').style.display = 'block';
|
jQuery('#BatchActionParameters').show();
|
||||||
$('actionParams').style.padding = '4px';
|
|
||||||
} else {
|
} else {
|
||||||
$('actionParams').innerHTML = '';
|
jQuery('#BatchActionParameters').hide();
|
||||||
$('actionParams').style.display = 'none';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user