Skip to content

Commit

Permalink
Update rt-html-abs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 10, 2024
1 parent 25850f0 commit 2aa532f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions js/rt-html-abs.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,18 @@ function openChat(element) {
App.callActionButton(json);
}

function openDeeplink(element) {
const actionData = {
actionID: 9012,
orderNumber: 1,
deepLink: element.getAttribute('data-deep-link'),
packageName: element.getAttribute('data-package-name'),
type: 'act_open_deeplink'
};
var json = JSON.stringify(actionData);
App.callActionButton(json);
}

function downloadVCard() {
const vCardContent = document.getElementById('vcardTemplate').textContent;

Expand Down

0 comments on commit 2aa532f

Please sign in to comment.