From d2bcbc27dcf98be7d183aa8e71b029a647e6200c Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Mon, 28 Aug 2017 11:50:25 -0400 Subject: RT# 77200 - Changed fixed active date to a user input date --- httemplate/edit/deploy_zone-mobile.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'httemplate/edit/deploy_zone-mobile.html') diff --git a/httemplate/edit/deploy_zone-mobile.html b/httemplate/edit/deploy_zone-mobile.html index 8cec298bf..e7f534cb8 100644 --- a/httemplate/edit/deploy_zone-mobile.html +++ b/httemplate/edit/deploy_zone-mobile.html @@ -23,8 +23,11 @@ }, 'description', { field => 'active_date', - type => 'fixed-date', - value => time, + type => 'input-date-field', + curr_value_callback => sub { + my ($cgi, $object) = @_; + $cgi->param('active_date') || $object->active_date || time; + }, }, { field => 'agentnum', type => 'select-agent', -- cgit v1.2.1