• 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
      

          [JENKINS-21052] l:copyButton does not work

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Kohsuke Kawaguchi [ kohsuke ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 152914 ] New: JNJira + In-Review [ 185486 ]
          Daniel Beck made changes -
          Labels Original: javascript lts-candidate regression stapler New: javascript regression stapler
          Daniel Beck made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-7665 display text that copy button is ignored unless in a secure context (Web Link)" [ 28494 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Alexander Brandes made changes -
          Released As New: 2.393
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: