summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-12-30 13:22:43 -0800
committerMark Wells <mark@freeside.biz>2016-12-30 13:22:58 -0800
commited832a11546a4bad4961165291b025790b76b68e (patch)
treeed814c392ae3784ef2f9ffd047ff71571864a7eb /httemplate/search
parentb393200c6678a0c245e6b1918d0c1b3fe6ea850f (diff)
fix "Create map" form submission, #73266
Diffstat (limited to 'httemplate/search')
-rw-r--r--httemplate/search/sector.html27
1 files changed, 14 insertions, 13 deletions
diff --git a/httemplate/search/sector.html b/httemplate/search/sector.html
index 037df10ea..f93264907 100644
--- a/httemplate/search/sector.html
+++ b/httemplate/search/sector.html
@@ -59,19 +59,20 @@
% $text = 'Reprocess';
% }
<form name="create_<% $sectornum |h %>">
- <input type="hidden" name="sectornum" value="<% $sectornum |h %>">
- <& /elements/progress-init.html,
- 'create_'.$sectornum,
- [ 'sectornum' ],
- $fsurl.'misc/sector-create_map.html',
- { 'message' => 'Map generated',
- 'url' => $cgi->self_url },
- "sector$sectornum"
- &>
- <a class="createmap" href="#" onclick="sector<% $sectornum %>process()">
- <% $text %>
- </a>
-% }
+ <input type="hidden" name="sectornum" value="<% $sectornum |h %>">
+ <& /elements/progress-init.html,
+ 'create_'.$sectornum,
+ [ 'sectornum' ],
+ $fsurl.'misc/sector-create_map.html',
+ { 'message' => 'Map generated',
+ 'url' => $cgi->self_url },
+ "sector$sectornum"
+ &>
+ <a class="createmap" href="#" onclick="sector<% $sectornum %>process()">
+ <% $text %>
+ </a>
+ </form>
+% } # if @need_fields
</td>
<td>
% if ( length($sector->image) > 0 ) {