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
367 367
      tab_content.find('.journal').show();
368 368
      tab_content.find('.journal:not(.has-notes)').hide();
369 369
      tab_content.find('.journal .wiki').show();
370
      tab_content.find('.journal .thumbnails').show();
371 370
      tab_content.find('.journal .contextual .journal-actions').show();
371

  
372
      // always show thumbnails in notes tab
373
      var thumbnails = tab_content.find('.journal .thumbnails');
374
      thumbnails.show();
375
      // show journals without notes, but with thumbnails
376
      thumbnails.parents('.journal').show();
372 377
      break;
373 378
    case 'properties':
374 379
      tab_content.find('.journal').show();
(5-5/5)