Closed basil closed 1 year ago
Btw tried on fresh jenkins in a new plugin to make a button that should just press and call method with parameter and it didn't work. Looks like js wasn't called at all because jenkins has it's own callback.
Could you help understand how to make a row of buttons with different ids that should call java method with @RequirePOST
? I tried f.button, but it do redirect, finally f.apply made it, but it has almost inivisible color.
I don't know the answer to your question, but in any case it is unrelated to the scope of this PR.
I don't know the answer to your question, but in any case it is unrelated to the scope of this PR.
yeap unrelated, i spent a lot of time checking IRC, gitter, website and fidn't found where is jenkins chat today...
https://groups.google.com/group/jenkinsci-dev/topics is still the best place for questions like this I think.
btw more or less it's related. Probably this JS is not need now, i don't know web and jenkins changes well in the UI.
Well sure, but whether or not this JavaScript is needed now has nothing to do with the core purpose of this pull request, which is to clean up the existing code and standardize on a common coding style.
See https://github.com/jenkinsci/jenkins/pull/8278. Not strictly necessary, and there is no user-facing issue here, but this PR is done as a code cleanup and to create a consistent coding style throughout the Jenkins project.
This change is