Commit 1624f2fc by yasir

tes

1 parent 81e5cb5f
...@@ -266,12 +266,13 @@ ...@@ -266,12 +266,13 @@
$('#btn_advice').click(function() { $('#btn_advice').click(function() {
var txId = $('#tx_id').html(); var txId = $('#tx_id').html();
var urinya = "//devel.agratek.id${params.route}/advice/act/?id=" + mID; var urinya = "${request._host}${params.route}/advice/act/?id=" + mID;
console.log(urinya); console.log(urinya);
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: urinya, url: urinya,
dataType: 'JSON', dataType: 'JSON',
crossDomain: true,
headers: { headers: {
'Access-Control-Allow-Origin': '*' 'Access-Control-Allow-Origin': '*'
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!