Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch copybtn.js-tweaks Excluding Merge-Ins
This is equivalent to a diff from 34fcaf829a to ba3e6fe738
|
2019-06-13
| ||
| 09:00 | Update the copyTextToClipboard() javascript routine to work better cross-platform. check-in: 0904aa8b10 user: drh tags: trunk | |
| 08:58 | Add the --setmtime option to the "checkout" and "open" commands. Add a new "touch" command that does nothing but run --setmtime on all named files. check-in: a7e86f5b18 user: drh tags: trunk | |
| 08:04 | Added new 'touch' command to set the mtime of files to their SCM-side values. check-in: 4d9ec3e33c user: stephan tags: touch-command | |
| 07:49 | Update the copyTextToClipboard() Javascript function to suppress scrolling, and remove the temporary textarea in case of an error (i.e. blocked clipboard access), as suggested here: [https://fossil-scm.org/forum/forumpost/40189d7d2f]. Closed-Leaf check-in: ba3e6fe738 user: florian tags: copybtn.js-tweaks | |
| 06:18 | Added a -setmtime flag to the checkout and open commands which works identically to that flag for the update command. The open command should arguably do this by default. Closed-Leaf check-in: e59d8d99b8 user: stephan tags: setmtime-checkout-open | |
| 06:15 | Documented the --setmtime flag to the update command. check-in: 34fcaf829a user: stephan tags: trunk | |
|
2019-06-12
| ||
| 12:11 | Avoid attaching a database file that already exists. check-in: 052c5f24a9 user: drh tags: trunk | |
Changes to src/copybtn.js.
| ︙ | |||
77 78 79 80 81 82 83 | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | + + + - - + + - - - - - - - - + + + + + + + + + + |
elButton.style.opacity = 1;
}
lockCopyText = false;
}.bind(null,this.id),400);
}
/* Create a temporary <textarea> element and copy the contents to clipboard. */
function copyTextToClipboard(text){
if( window.clipboardData && window.clipboardData.setData ){
clipboardData.setData('Text',text);
}else{
|