Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".alert_ho").on('click', function() {
- let shop_id = $(this).val();
- let task_id = '<?php echo $task->task_id ?>';
- var json = {
- 'isMessage': true,
- 'title': 'Confirmation Task',
- 'body': 'Are you sure to take this alert ho ?',
- 'type': 'confirmation',
- 'url_api': `ho_api/alert_ho?shop_id=${shop_id}&task_id=${task_id}`,
- 'next': true,
- };
- window.ReactNativeWebView.postMessage(JSON.stringify(json));
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement