mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
FIX display the date and time fields for embargo and expires.
This commit is contained in:
parent
6ecfa61ca1
commit
da7e1ccc34
@ -53,6 +53,7 @@
|
|||||||
onchange: function() {
|
onchange: function() {
|
||||||
//selected the date options
|
//selected the date options
|
||||||
if (this.attr('value') === 'Date') {
|
if (this.attr('value') === 'Date') {
|
||||||
|
$('.embargoDatetime').children().show();
|
||||||
$('.embargoDatetime').show();
|
$('.embargoDatetime').show();
|
||||||
} else {
|
} else {
|
||||||
$('.embargoDatetime').hide();
|
$('.embargoDatetime').hide();
|
||||||
@ -64,6 +65,7 @@
|
|||||||
onchange: function() {
|
onchange: function() {
|
||||||
//selected the date options
|
//selected the date options
|
||||||
if (this.attr('value') === 'Date') {
|
if (this.attr('value') === 'Date') {
|
||||||
|
$('.expiryDatetime').children().show();
|
||||||
$('.expiryDatetime').show();
|
$('.expiryDatetime').show();
|
||||||
} else {
|
} else {
|
||||||
$('.expiryDatetime').hide();
|
$('.expiryDatetime').hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user