Permalink
Browse files

Merge pull request #2114 from mbischof/2112-crud-command-broken

removed  $this which fixes #2112
  • Loading branch information...
cebe committed Feb 14, 2013
2 parents def20b8 + 1f43ba3 commit edc25a772064b4d7aeea935d3d3ae0fb305221ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/cli/views/shell/crud/admin.php
@@ -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;

0 comments on commit edc25a7

Please sign in to comment.