From a0d452bbd9091d9d5292bac36ff8e2fb4d8a8c8d Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Apr 2018 18:54:05 +0200 Subject: [PATCH] Use correct icons for the search results in the drive --- www/drive/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index ae0328491..df9708d97 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -2096,7 +2096,7 @@ define([ var parsed = Hash.parsePadUrl(href); var $table = $(''); var $icon = $('
', {'rowspan': '3', 'class': 'cp-app-drive-search-icon'}) - .append(getFileIcon(href)); + .append(getFileIcon(r.id)); var $title = $('', { 'class': 'cp-app-drive-search-col1 cp-app-drive-search-title' }).text(r.data.title)