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

l:copyButton does not work

XMLWordPrintable

    • 2.393

      Prior to 33c8ac4 in 1.514, copyButton.js had extraneous quotes, so the ZeroClipboard Stapler adjunct could not be loaded at all. After that, it is loaded, but (I think as a regression from SECURITY-71) just throws a JavaScript error when the button is clicked, as can be seen e.g. from the UI Samples plugin:

      Uncaught TypeError: Cannot call method 'getAttribute' of undefined
      ZeroClipboard.ready ZeroClipboard.js:245
      ZeroClipboard.setHandCursor ZeroClipboard.js:181
      (anonymous function) copyButton.js:11
      (anonymous function) behavior.js:111
      (anonymous function) behavior.js:107
      Behaviour.applySubtree behavior.js:93
      Behaviour.apply behavior.js:76
      (anonymous function) behavior.js:71
      window.onload behavior.js:125
      

            markewaite Mark Waite
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: