File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ function annotation(anno_id) {
3333
3434 // Annotation time of each point
3535 this . time_point = new Array ( ) ;
36+ this . closing_time = null ;
3637
3738 // Element id for drawn first point:
3839 this . point_id = null ;
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ function DrawCanvasClosePolygon() {
179179 var anno = null ;
180180
181181 if ( draw_anno ) {
182+ draw_anno . closing_time = get_date ( )
182183 draw_anno . DeletePolygon ( ) ;
183184 anno = draw_anno ;
184185 draw_anno = null ;
Original file line number Diff line number Diff line change @@ -340,6 +340,7 @@ function handler() {
340340 html_str += '<time>' + anno . time_point [ jj ] + '</time>' ;
341341 html_str += '</pt>' ;
342342 }
343+ html_str += '<closed_date>' + anno . closing_time + '</closed_date>' ;
343344 html_str += '</polygon>' ;
344345 html_str += '</object>' ;
345346 $ ( LM_xml ) . children ( "annotation" ) . append ( $ ( html_str ) ) ;
You can’t perform that action at this time.
0 commit comments