Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71296

Remove usages of Prototype from JClouds

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • jclouds-plugin
    • None
    • 2.33

      See  this blog post for details. Prototype will eventually be removed from Jenkins core, and 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. This may not be an exhaustive list:

      ./src/main/webapp/jclouds.js:20:                                window.JClouds.dlg.hide();
      ./src/main/webapp/jclouds.js:33:        new Ajax.Request(url, {
      ./src/main/webapp/jclouds.js:46:                dlg.show();
      ./src/main/webapp/jclouds.js:52:        var phead = body.down('#page-head') || body.down('#page-header');
      ./src/main/webapp/jclouds.js:56:        var bcb = body.down('#breadcrumbBar');
      ./src/main/webapp/jclouds.js:60:        body.down('#side-panel').remove();
      ./src/main/webapp/jclouds.js:61:        body.down('footer').remove();
      ./src/main/webapp/jclouds.js:66:        var phead = body.down('#page-head') || body.down('#page-header');
      ./src/main/webapp/jclouds.js:70:        var bcb = body.down('#breadcrumbBar');
      ./src/main/webapp/jclouds.js:74:        body.down('#side-panel').remove();
      ./src/main/webapp/jclouds.js:75:        body.down('footer').remove();
      ./src/main/webapp/jclouds.js:80:        var fid = $(but).up('div').up('div').down('select').getValue();
      ./src/main/webapp/jclouds.js:86:        var but = $(sel).up('div').up('div').down('.yui-button') || $(sel).up('div').up('div').up('div').down('.yui-button');
      ./src/main/webapp/jclouds.js:120:    $(e).observe('click', window.JClouds.showcf);
      ./src/main/webapp/jclouds.js:124:    $(e).observe('click', window.JClouds.managecf);
      ./src/main/webapp/jclouds.js:128:    $(e).observe('change', window.JClouds.chsel);
      

            felfert Fritz Elfert
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: