diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php
index 8abaf283..93482f22 100644
--- a/admin/admin_ticket.php
+++ b/admin/admin_ticket.php
@@ -1299,7 +1299,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
@@ -1860,7 +1860,7 @@ function hesk_printReplyForm()
-
+
diff --git a/admin/new_ticket.php b/admin/new_ticket.php
index b7c8beae..7b5dfec0 100644
--- a/admin/new_ticket.php
+++ b/admin/new_ticket.php
@@ -1042,7 +1042,7 @@ if ($hesk_settings['attachments']['use']) {
-
+
diff --git a/inc/view_attachment_functions.inc.php b/inc/view_attachment_functions.inc.php
index 3ea781b3..e54075b8 100644
--- a/inc/view_attachment_functions.inc.php
+++ b/inc/view_attachment_functions.inc.php
@@ -208,9 +208,10 @@ function output_attachment_id_holder_container($id) {
echo '';
}
-function build_dropzone_markup($id = 'filedrop') {
+function build_dropzone_markup($admin = false, $id = 'filedrop') {
global $hesklang, $hesk_settings;
+ $directory_separator = $admin ? '../' : '';
echo '
';
@@ -221,8 +222,8 @@ function build_dropzone_markup($id = 'filedrop') {
echo '
' . $hesklang['add_files'] . '
- '. $hesklang['ful'] . '';
+ '. $hesklang['ful'] . '';
}
function display_dropzone_field($url, $id = 'filedrop') {