Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2025
1 parent 585fc87 commit eff73b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/webapp/controller/View1.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ sap.ui.define(["sap/ui/core/mvc/Controller", "sap/ui/core/mvc/XMLView", "sap/ui/
case 'HISTORY_BACK':
history.back();
break;
case 'CLIPBOARD_COPY':
copyToClipboard( args[1] );
break;
case 'CLIPBOARD_APP_STATE':
function copyToClipboard(textToCopy) {
if (navigator.clipboard && typeof navigator.clipboard.writeText === "function") {
Expand Down

0 comments on commit eff73b5

Please sign in to comment.