Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showNotification()
- {
- <?php
- $count_role_deals = Deals::model()->countTasks($role);
- echo CHtml::ajax(array(
- 'url'=>array('deals/ShowNotification','count_role_deals'=>$count_role_deals,'role'=>$role),
- 'type'=>'POST',
- 'success'=>"function(html){
- $('#count_role_deals').text(html);
- }"
- )
- );
- ?>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement