tomasbjerre / settings-synchronizer-for-bitbucket-plugin

Synchronize repository settings in Atlassian Bitbucket Server
https://marketplace.atlassian.com/plugins/se.bjurr.ssfb.settings-synchronizer-for-bitbucket/server/overview
Other
7 stars 2 forks source link

Prevent reloading of settings page at saving or syncing. #12

Closed Syquel closed 6 years ago

Syquel commented 6 years ago

Some browsers like Firefox do not wait for event handler callbacks to finish when a navigation event has been propagated. This behavior prevents the execution of the settings sync, which executes the sync after saving. To mitigate this the type of the HTML button elements are set to 'button' (default: 'submit') which does not propagate a navigation event.

tomasbjerre commented 6 years ago

Thanks!