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:
Sam Minnee 2010-01-12 23:57:47 +00:00
parent 568f808053
commit 2b4366b0d3

View File

@ -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();
}
},