mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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() {
|
||||
var urlSegment = $('choose_batch_action').value.split('/').pop();
|
||||
if ($('BatchActionParameters_'+urlSegment)) {
|
||||
jQuery('#actionParams').empty();
|
||||
jQuery('#BatchActionParameters_'+urlSegment).appendTo('#actionParams');
|
||||
$('actionParams').style.display = 'block';
|
||||
$('actionParams').style.padding = '4px';
|
||||
jQuery('#BatchActionParameters .params').hide();
|
||||
jQuery('#BatchActionParameters_'+urlSegment).show();
|
||||
jQuery('#BatchActionParameters').show();
|
||||
} else {
|
||||
$('actionParams').innerHTML = '';
|
||||
$('actionParams').style.display = 'none';
|
||||
jQuery('#BatchActionParameters').hide();
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user