diff options
author | Mark Wells <mark@freeside.biz> | 2015-09-30 22:49:38 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-09-30 22:49:38 -0700 |
commit | d07c72046444319e0811c6a00b504885da091992 (patch) | |
tree | 145b723189b757087d9984eafb96413ab994061c /httemplate/edit/deploy_zone-mobile.html | |
parent | 21b519eb5313ebe09242a2d90e1e615c56c64739 (diff) |
graphical selection of deployment zones and automatic block lookup, #30260
Diffstat (limited to 'httemplate/edit/deploy_zone-mobile.html')
-rw-r--r-- | httemplate/edit/deploy_zone-mobile.html | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/httemplate/edit/deploy_zone-mobile.html b/httemplate/edit/deploy_zone-mobile.html index d049cb018..8cec298bf 100644 --- a/httemplate/edit/deploy_zone-mobile.html +++ b/httemplate/edit/deploy_zone-mobile.html @@ -49,14 +49,21 @@ 'adv_speed_down', 'adv_speed_up', { type => 'tablebreak-tr-title', value => 'Footprint'}, - { field => 'vertexnum', - type => 'deploy_zone_vertex', - o2m_table => 'deploy_zone_vertex', - m2_label => ' ', - m2_error_callback => $m2_error_callback, - }, - ], + { field => 'vertices', + type => 'polygon', + curr_value_callback => sub { + my ($cgi, $object) = @_; + $cgi->param('vertices') || $object->vertices_json; + }, + } +# { field => 'vertexnum', +# type => 'deploy_zone_vertex', +# o2m_table => 'deploy_zone_vertex', +# m2_label => ' ', +# m2_error_callback => $m2_error_callback, +# }, + ], &> <%init> my $curuser = $FS::CurrentUser::CurrentUser; |