Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (Yii::app()->user->checkAccess('updateRequest')) {
- Yii::app()->clientScript->registerScript('RequestPay', '
- $("#btnRequestPay").click(function() {
- $.ajax({
- url:"' . CHtml::normalizeUrl(array('Request/requestPay')) . '",
- success:function (e) {
- jQuery("#myModalRequestPay").modal("toggle");
- window.location = window.location;
- }
- });
- });
- ');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment