From da7e1ccc34380b14babc8dd64d73313f370f4232 Mon Sep 17 00:00:00 2001 From: Cam Findlay Date: Thu, 9 May 2013 10:19:30 +1200 Subject: [PATCH] FIX display the date and time fields for embargo and expires. --- javascript/DMSDocumentCMSFields.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/javascript/DMSDocumentCMSFields.js b/javascript/DMSDocumentCMSFields.js index 274b159..56a89e3 100644 --- a/javascript/DMSDocumentCMSFields.js +++ b/javascript/DMSDocumentCMSFields.js @@ -53,6 +53,7 @@ onchange: function() { //selected the date options if (this.attr('value') === 'Date') { + $('.embargoDatetime').children().show(); $('.embargoDatetime').show(); } else { $('.embargoDatetime').hide(); @@ -64,6 +65,7 @@ onchange: function() { //selected the date options if (this.attr('value') === 'Date') { + $('.expiryDatetime').children().show(); $('.expiryDatetime').show(); } else { $('.expiryDatetime').hide();