Re: [xwiki-users] Integrate clipboard.js into XWiki application

2016-08-08 Thread D R
Hi, does somebody else know a working solution for copying the value of a certain field to the clipboard on the press of a button? Thanks in advance, Dennis 2016-06-29 16:04 GMT+02:00 D R : > Hi, > > I made the suggested change: > > > But still nothing is being copied to

Re: [xwiki-users] Integrate clipboard.js into XWiki application

2016-06-29 Thread D R
Hi, I made the suggested change: But still nothing is being copied to the clipboard. Log files are empty but now in the console I also see: ReferenceError: Clipboard is not defined Testeintrag+1:556 Testeintrag+1:556:5 Error: Mismatched anonymous define() module: function (){var

Re: [xwiki-users] Integrate clipboard.js into XWiki application

2016-06-29 Thread Clemens Klein-Robbenhaar
Uh, tough, is there something like a stack trace for the error message? First stop would be to check is the clipboard.min.js is really loaded and displays without error, but I guess it does as otherwise the problem would appear on page load already ... One thing that looks odd to me is: >

[xwiki-users] Integrate clipboard.js into XWiki application

2016-06-29 Thread D R
Hi, I'm trying to implement a basic password manager as an XWiki application. I have short text fields for username and password. In view mode the password is replaced by ** to hide it from prying eyes. Now I'd like to have a button next to the username and password fields for copying