summaryrefslogtreecommitdiff
path: root/httemplate/elements/template_image-dialog.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-08-29 21:27:39 -0700
committerMark Wells <mark@freeside.biz>2015-08-30 17:49:20 -0700
commit50e00caf8ba629f85beaa499197947716dd30733 (patch)
tree78f09e0511ec84fff28815e1f22950d6fc3c071f /httemplate/elements/template_image-dialog.html
parenteda12d4d82a25ba333fb4e822aef9704b3ae938a (diff)
fix improper relative paths, incidental to #21564
Diffstat (limited to 'httemplate/elements/template_image-dialog.html')
-rw-r--r--httemplate/elements/template_image-dialog.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/template_image-dialog.html b/httemplate/elements/template_image-dialog.html
index f7fb0c291..b471d28da 100644
--- a/httemplate/elements/template_image-dialog.html
+++ b/httemplate/elements/template_image-dialog.html
@@ -14,7 +14,7 @@ url - to redirect to after upload, otherwise just refreshes dialog window
</%doc>
<% include('/elements/xmlhttp.html',
- 'url' => $p.'misc/xmlhttp-template_image.cgi',
+ 'url' => $fsurl.'misc/xmlhttp-template_image.cgi',
'subs' => [ 'get_template_image' ],
) %>
@@ -75,7 +75,7 @@ url - to redirect to after upload, otherwise just refreshes dialog window
<% include('/elements/form-file_upload.html',
'name' => 'TemplateImageUploadForm',
'id' => 'TemplateImageUploadForm',
- 'action' => $p.'misc/process/template_image-upload.cgi',
+ 'action' => $fsurl.'misc/process/template_image-upload.cgi',
'num_files' => 1,
'fields' => [ 'name', 'agentnum' ],
'url' => $opt{'url'} || 'javascript:refreshImageList(1)',