diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
index 730e2f14..87d64218 100644
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -2929,7 +2929,10 @@ function kolab_files_ui()
.on('click', function() { file_api.sharing_delete(post.folder, $(this).closest('tr'), post.mode); });
if (form_info.list_column) {
- row.append($('
').append($('').text(post[form_info.list_column])));
+ row.append($(' | ').append($('')
+ .text(response.result.display || post[form_info.list_column])
+ .attr('title', response.result.title))
+ );
}
else {
$.each(form_info.form || [], function(i, v) {
@@ -2945,7 +2948,7 @@ function kolab_files_ui()
content.append(opts).val(post[i]);
}
else {
- content = $('').text(post[i]);
+ content = $('').text(response.result.display || post[i]).attr('title', response.result.title);
hidden.push($('').attr({type: 'hidden', name: i, value: post[i] || ''}));
}
diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index 97582154..1e5ac8b4 100644
--- a/plugins/kolab_files/lib/kolab_files_engine.php
+++ b/plugins/kolab_files/lib/kolab_files_engine.php
@@ -450,7 +450,7 @@ class kolab_files_engine
foreach ((array) $info['rights'] as $entry) {
if ($entry['mode'] == $mode) {
if (!empty($tab['list_column'])) {
- $table->add(null, html::span('name', rcube::Q($entry[$tab['list_column']])));
+ $table->add(null, html::span(array('title' => $entry['title'], 'class' => 'name'), rcube::Q($entry[$tab['list_column']])));
}
else {
foreach ($tab['form'] as $index => $field) {
@@ -458,7 +458,7 @@ class kolab_files_engine
$table->add(null, $fields[$index]->show($entry[$index]));
}
else if ($fields[$index] instanceof html_inputfield) {
- $table->add(null, html::span('name', rcube::Q($entry[$index])));
+ $table->add(null, html::span(array('title' => $entry['title'], 'class' => 'name'), rcube::Q($entry[$index])));
}
}
}
|