Skip to content

Commit

Permalink
Merge pull request #2114 from mbischof/2112-crud-command-broken
Browse files Browse the repository at this point in the history
removed  $this which fixes #2112
  • Loading branch information
cebe committed Feb 14, 2013
2 parents def20b8 + 1f43ba3 commit edc25a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/cli/views/shell/crud/admin.php
Expand Up @@ -27,7 +27,7 @@
return false;
});
$('.search-form form').submit(function(){
$('#<?php echo $this->class2id($this->modelClass); ?>-grid').yiiGridView('update', {
$('#<?php echo $this->class2id($modelClass); ?>-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
Expand Down

0 comments on commit edc25a7

Please sign in to comment.