Project

General

Profile

Defect #33338 » 0002-Always-show-journals-with-thumbnails-in-notes-tab.patch

Marius BĂLTEANU, 2021-03-17 08:35

View differences:

public/javascripts/application.js
tab_content.find('.journal').show();
tab_content.find('.journal:not(.has-notes)').hide();
tab_content.find('.journal .wiki').show();
tab_content.find('.journal .thumbnails').show();
tab_content.find('.journal .contextual .journal-actions').show();
// always show thumbnails in notes tab
var thumbnails = tab_content.find('.journal .thumbnails');
thumbnails.show();
// show journals without notes, but with thumbnails
thumbnails.parents('.journal').show();
break;
case 'properties':
tab_content.find('.journal').show();
(5-5/5)