Skip to content

Commit

Permalink
Merge pull request #15 from FlexConfirmMail/use-corresponding-names
Browse files Browse the repository at this point in the history
Use corresponding names
  • Loading branch information
HashidaTKS authored Oct 2, 2024
2 parents 45c6bb0 + 2730793 commit b4eb8e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<DesktopFormFactor>
<FunctionFile resid="residUILessFunctionFileUrl" />
<ExtensionPoint xsi:type="Events">
<Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="onMessageSend" />
<Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="onItemSend" />
</ExtensionPoint>
<ExtensionPoint xsi:type="LaunchEvent">
<LaunchEvents>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ async function getAllData() {
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
async function onMessageSend(event) {
console.debug("onMessageSend ", event);
async function onItemSend(event) {
console.debug("onItemSend ", event);
const data = await getAllData();
console.debug(data);
// If the platform is web, to bypass pop-up blockers, we need to ask the users if they want to open a dialog.
Expand Down Expand Up @@ -142,7 +142,7 @@ async function onMessageSend(event) {
}
);
}
window.onMessageSend = onMessageSend;
window.onItemSend = onItemSend;

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function onNewMessageComposeCreated(event) {
Expand Down

0 comments on commit b4eb8e8

Please sign in to comment.