From 1e4d11801e86d9177f1f3e9b1035303b5aeb3c67 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Wed, 4 Mar 2015 20:00:00 +0100 Subject: [PATCH] WebUI: Add title attribute to filename cells in content tab This will show the entire file path in a tooltip. This is useful especially since bb1649a797 ("WebUI: return full paths to files). --- src/webui/www/public/scripts/prop-files.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/webui/www/public/scripts/prop-files.js b/src/webui/www/public/scripts/prop-files.js index d53b7ae51..8a37b7dc9 100644 --- a/src/webui/www/public/scripts/prop-files.js +++ b/src/webui/www/public/scripts/prop-files.js @@ -248,6 +248,10 @@ var filesDynTable = new Class({ }); td.adopt(tree_img, createDownloadedCB(id, row[i])); break; + case 1: + td.set('html', row[i]); + td.set('title', row[i]); + break; case 3: td.adopt(new ProgressBar(row[i].toFloat(), { 'id': 'pbf_' + id,