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

Remove usages of Prototype JavaScript framework #306

Closed
basil opened this issue May 18, 2023 · 0 comments · Fixed by #314
Closed

Remove usages of Prototype JavaScript framework #306

basil opened this issue May 18, 2023 · 0 comments · Fixed by #314

Comments

@basil
Copy link
Member

basil commented May 18, 2023

See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified:

./src/main/webapp/js/pos.js:44:    row.show();
./src/main/webapp/js/pos.js:45:    row.next().show();
./src/main/webapp/js/pos.js:49:    row.hide();
./src/main/webapp/js/pos.js:50:    row.next().hide();
./src/main/webapp/js/pos.js:54:    $(container).getElementsBySelector('.ssh-exec-control').each(function(sshControl) {
./src/main/webapp/js/pos.js:59:    $(container).getElementsBySelector('input[name="_.usePty"]').each(function(sshControl) {
./src/main/webapp/js/pos.js:64:    $(container).getElementsBySelector('input[name="_.useAgentForwarding"]').each(function(sshControl) {
./src/main/webapp/js/pos.js:79:    $(container).getElementsBySelector('input').each(function(inputControl) {
./src/main/webapp/js/pos.js:82:    $(container).getElementsBySelector('textarea').each(function(inputControl) {

CC @gmcdonald

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 a pull request may close this issue.

1 participant