SHARE
TWEET

Untitled

a guest Sep 23rd, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.      $(".alert_ho").on('click', function() {
  2.             let shop_id = $(this).val();
  3.             let task_id = '<?php echo $task->task_id  ?>';
  4.             var json = {
  5.                 'isMessage': true,
  6.                 'title': 'Confirmation Task',
  7.                 'body': 'Are you sure to take this alert ho ?',
  8.                 'type': 'confirmation',
  9.                 'url_api': `ho_api/alert_ho?shop_id=${shop_id}&task_id=${task_id}`,
  10.                 'next': true,
  11.             };
  12.             window.ReactNativeWebView.postMessage(JSON.stringify(json));
  13.         })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top