Permalink
Browse files

Merge pull request #1090 from hyzhakus/patch-1

Update framework/zii/widgets/CListView.php
  • Loading branch information...
2 parents 4dabc1a + 1f073f8 commit 7c62369aa78edfb1d00418af2f5f85b77ea2f0a1 @qiangxue qiangxue committed Aug 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/zii/widgets/CListView.php
@@ -234,11 +234,11 @@ public function registerClientScript()
{
if(!($this->afterAjaxUpdate instanceof CJavaScriptExpression) && strpos($this->afterAjaxUpdate,'js:')!==0)
{
- $options['beforeAjaxUpdate']=new CJavaScriptExpression($this->afterAjaxUpdate);
+ $options['afterAjaxUpdate']=new CJavaScriptExpression($this->afterAjaxUpdate);
}
else
{
- $options['beforeAjaxUpdate']=$this->afterAjaxUpdate;
+ $options['afterAjaxUpdate']=$this->afterAjaxUpdate;
}
}

0 comments on commit 7c62369

Please sign in to comment.