From 5fdf291cd2bb17e2328fb4264c6f0a75098f65d9 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 18 Apr 2017 13:30:13 +0200 Subject: [PATCH] use new select menu for expiration date --- views/bootstrap/class.EditDocument.php | 28 ++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/views/bootstrap/class.EditDocument.php b/views/bootstrap/class.EditDocument.php index e6d62c0ec..f4f099790 100644 --- a/views/bootstrap/class.EditDocument.php +++ b/views/bootstrap/class.EditDocument.php @@ -88,6 +88,12 @@ $(document).ready( function() { keywords: "" } }); + $('#presetexpdate').on('change', function(ev){ + if($(this).val() == 'date') + $('#control_expdate').show(); + else + $('#control_expdate').hide(); + }); }); : - - + + + + > + : + + + -
- +