Project

General

Profile

Defect #33338 » history_tabs.patch

expected filtering - Greg T, 2020-04-22 11:48

View differences:

public/javascripts/application.js 2020-04-22 11:34:18.517014138 +0200
switch(journal) {
case 'notes':
tab_content.find('.journal').show();
tab_content.find('.journal:not(.has-notes)').hide();
tab_content.find('.journal.has-notes').show();
tab_content.find('.journal .wiki').show();
tab_content.find('.journal .details').hide();
break;
case 'properties':
tab_content.find('.journal.has-notes').hide();
tab_content.find('.journal:not(.has-notes)').show();
tab_content.find('.journal').show();
tab_content.find('.journal:not(.has-details)').hide();
tab_content.find('.journal .details').show();
tab_content.find('.journal .wiki').hide();
break;
default:
tab_content.find('.journal').show();
tab_content.find('.journal .wiki').show();
tab_content.find('.journal .details').show();
}
return false;
(1-1/5)