Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N°7371 - Bug when saving public and private log at same time #636

Open
wants to merge 1 commit into
base: support/3.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions js/layouts/activity-panel/activity-panel.js
Expand Up @@ -916,6 +916,7 @@ $(function()
_SaveSubmitConfirmationPref: function()
{
// Note: We have to send the value as a string because of the API limitation
this.options.show_multiple_entries_submit_confirmation = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather put this after the SetUserPreference, so the UI is updated only if the call to the server went well.

SetUserPreference('activity_panel.show_multiple_entries_submit_confirmation', 'false', true);
},
/**
Expand Down