Use relative URLs for attachment handling
This commit is contained in:
parent
4a49c8c510
commit
9a5738eb1c
@ -1167,7 +1167,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
<?php build_dropzone_markup(true, 'notesFiledrop'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php', 'notesFiledrop'); ?>
|
||||
<?php display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php', 'notesFiledrop'); ?>
|
||||
<div class="text-right">
|
||||
<i><?php echo $hesklang['nhid']; ?></i>
|
||||
<div class="btn-group">
|
||||
@ -1965,7 +1965,6 @@ function hesk_printReplyForm()
|
||||
|
||||
?></textarea>
|
||||
<div class="help-block with-errors" id="message-help-block"></div></span>
|
||||
<p id="lang_ticket_message_contents_exist" style="display: none"><?php echo $hesklang['ticket_message_contents_exist']; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@ -1980,7 +1979,7 @@ function hesk_printReplyForm()
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||
}
|
||||
?>
|
||||
<div class="form-group">
|
||||
|
@ -608,7 +608,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php',
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php',
|
||||
'filedrop',
|
||||
$hesk_settings['attachments']['max_number'] - $number_of_attachments);
|
||||
endif; ?>
|
||||
|
@ -459,7 +459,7 @@ if (!isset($_SESSION['hide']['new_article']))
|
||||
<?php build_dropzone_markup(true); ?>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/admin/knowledgebase/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/admin/knowledgebase/upload-attachment.php');
|
||||
endif; // End attachments
|
||||
|
||||
?>
|
||||
@ -1517,7 +1517,7 @@ function edit_article()
|
||||
|
||||
<?php
|
||||
build_dropzone_markup(true);
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/admin/knowledgebase/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/admin/knowledgebase/upload-attachment.php');
|
||||
?>
|
||||
</div>
|
||||
<?php endif; //End attachments ?>
|
||||
|
@ -879,7 +879,7 @@ $show_quick_help = $show['show'];
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||
}
|
||||
|
||||
if (!isset($_SESSION['as_notify'])) {
|
||||
|
@ -983,7 +983,7 @@ function print_add_ticket()
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||
}
|
||||
|
||||
if ($hesk_settings['question_use'] || $hesk_settings['secimg_use'])
|
||||
|
@ -656,7 +656,7 @@ function hesk_printCustomerReplyForm($reopen = 0)
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
||||
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||
}
|
||||
?>
|
||||
<input type="hidden" name="token" value="<?php hesk_token_echo(); ?>"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user