Skip to content

Conversation

@ParksProjets
Copy link

The Behaviour object from Jenkins webapp already uses window.onload for setting up some HTML elements. This plugin overrides that function, which causes some elements to misbehave (for example, the "Build Now" button is using GET requests instead of POST).

The commit fixes the issue by using Behaviour.addLoadEvent() instead (it's fine here because behavior.js is loaded in <head> element).

The "Behaviour" object from Jenkins webapp already uses "window.onload"
for setting up some HTML elements. This plugin overrides that function,
which causes some elements to misbehave. Fix the issue by using
Behaviour.addLoadEvent() instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant