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:50:00 -0700 |
| commit | f485dcdf05ee107645299197a9ab9d9dd3f22be3 (patch) | |
| tree | 541d64f13a8ebd4a2d448295a68182a58de63fb2 /httemplate/edit/deploy_zone-mobile.html | |
| parent | 9e99a610a2c69db3ab9f42728ab6dbf492a5496a (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; |
