drumaddict/yii-ajax-crud-behavior — pull request #2 by JbalTero (2014-04-03 12:13:47+00:00)
Title: [BUG] Fixed Issue #1 - Under Nested Module Bug

Here's my analysis...

I think this code is where the bug is...[ behaviors/AjaxCrudBehavior.php ]

```
public function register_Js_Css()
{
$baseUrl = Yii::app()->baseUrl;
$csrf = Yii::app()->request->csrfToken;
$controllerID = $this->owner->id;

//pass php variables to javascript
$ajaxcrud_behavior_js = <<modelClassName'
},
Yii_js = {
baseUrl:'$baseUrl',
csrf:'$csrf'
}
}(jQuery));
EOD;
```