yiisoft/yii — pull request #383 by reziraj (2012-02-21 23:12:10+00:00)
Title: 381 fixing model class name issue with auto generation from table name

I've fixed the issue #381.

Added new events: blur, focus and autocompleteselect $('#{$class}_modelClass') field.

Also, added a small fix for the items of the autocomplete, as they won't react as they were selected when clicked:

$('ul.ui-autocomplete li.ui-menu-item a').live('click', function() {
$('#{$class}_tableName').focus();
});