From: <mo...@us...> - 2006-11-11 17:52:30
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7012/templates Modified Files: tiki-view_tracker.tpl Log Message: [FIX] trackers: jscalendar in new item form was not displaying value after selection Index: tiki-view_tracker.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-view_tracker.tpl,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- tiki-view_tracker.tpl 11 Nov 2006 17:43:36 -0000 1.117 +++ tiki-view_tracker.tpl 11 Nov 2006 17:52:28 -0000 1.118 @@ -574,7 +574,7 @@ {* -------------------- jscalendar ------------------- *} {elseif $fields[ix].type eq 'j'} -<input type="hidden" name="{$fields[ix].ins_id}" value="" id="{$fields[ix].ins_id}" /> +<input type="hidden" name="{$fields[ix].ins_id}" value="{$now}" id="{$fields[ix].ins_id}" /> <span id="disp_{$fields[ix].ins_id}" class="daterow">{$fields[ix].value|default:$smarty.now|tiki_long_date}</span> <script type="text/javascript"> {literal}Calendar.setup( { {/literal} @@ -582,7 +582,7 @@ inputField : "{$fields[ix].ins_id}", // ID of the input field ifFormat : "%s", // the date format displayArea : "disp_{$fields[ix].ins_id}", // ID of the span where the date is to be shown -daFormat : "{$tiki_long_date}", // format of the displayed date +daFormat : "{$long_date_format}", // format of the displayed date showsTime : true, singleClick : true, align : "bR" |