I have an ajax call in my legacy application:
i2b2.CRC.ajax.getQueryResultInstanceList_fromQueryResultInstanceId(
"CRC:QueryStatus", {qr_key_value: rec.QRS_ID}, scopedCallbackQRSI
);
I want to add this Ajax request in setTimeout method. To escape " I added \. I came up with following line:
setTimeout("i2b2.CRC.ajax.getQueryResultInstanceList_fromQueryResultInstanceId(\"CRC:QueryStatus\", {qr_key_value: rec.QRS_ID}, scopedCallbackQRSI)",50000);
Now I am not getting any error on console but Ajax call is also not working either.
Am I missing anything?