mirror of
https://github.com/redmine/redmine.git
synced 2025-11-17 10:40:52 +01:00
Allow reactions on journals with property changes only (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23781 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -426,7 +426,7 @@ function showIssueHistory(journal, url) {
|
||||
tab_content.find('.journal').show();
|
||||
tab_content.find('.journal:not(.has-notes)').hide();
|
||||
tab_content.find('.journal .wiki').show();
|
||||
tab_content.find('.journal .contextual .journal-actions').show();
|
||||
tab_content.find('.journal .contextual .journal-actions > *').show();
|
||||
|
||||
// always show thumbnails in notes tab
|
||||
var thumbnails = tab_content.find('.journal .thumbnails');
|
||||
@@ -439,13 +439,15 @@ function showIssueHistory(journal, url) {
|
||||
tab_content.find('.journal:not(.has-details)').hide();
|
||||
tab_content.find('.journal .wiki').hide();
|
||||
tab_content.find('.journal .thumbnails').hide();
|
||||
tab_content.find('.journal .contextual .journal-actions').hide();
|
||||
tab_content.find('.journal .contextual .journal-actions > *').hide();
|
||||
// Show reaction button in properties tab
|
||||
tab_content.find('.journal .contextual .journal-actions .reaction-button-wrapper').show();
|
||||
break;
|
||||
default:
|
||||
tab_content.find('.journal').show();
|
||||
tab_content.find('.journal .wiki').show();
|
||||
tab_content.find('.journal .thumbnails').show();
|
||||
tab_content.find('.journal .contextual .journal-actions').show();
|
||||
tab_content.find('.journal .contextual .journal-actions > *').show();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user