Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if($id = Yii::$app->session->getFlash('convert_model_id')):?>
- <script>
- var xhr = new XMLHttpRequest();
- xhr.open('GET', '<?=Yii::$app->homeUrl?>document/convert?id=<?=$id?>', true);
- xhr.send();
- </script>
- <?php endif?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement