FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

process_ui.js: Add copy/paste fallback by reedy · Pull Request #1972 · emoncms/emoncms · GitHub

process_ui.js: Add copy/paste fallback - #1972

Open
reedy wants to merge 1 commit into
emoncms:masterfrom
reedy:patch-2
Open

process_ui.js: Add copy/paste fallback#1972
reedy wants to merge 1 commit into
emoncms:masterfrom
reedy:patch-2

Conversation

reedy commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Attempts to fix #1971

reedy commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

Currently completely untested...

Comment thread Modules/process/Views/process_ui.js Outdated
Comment thread Modules/process/Views/process_ui.js Outdated
Comment thread Modules/process/Views/process_ui.js Outdated
} catch (error) {
alert("Failed to paste processes. The clipboard data is not in the correct format.");
console.error("Error parsing clipboard data:", error);
}).catch((error) => {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This catch doesn't seem to fire (on the code as it existed before this PR) if readText() can't be used... annoying.

Copy link
Copy Markdown
Member

Thanks @reedy should I merge this now or does it need more work/testing?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

process list setup cut/copypaste doesn't work on HTTP

2 participants


Back | FazBrowse Home | New Git URL