Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…in-grids into 0.8.9
  • Loading branch information
mage-eag committed May 16, 2013
2 parents b9ae095 + d644ebc commit c7634ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public function canExport($type)
public function checkUserEditPermissions($type, $model, $block=null, $params=array())
{
if (parent::checkUserEditPermissions($type, $model, $block, $params)) {
if (!is_null($grid)) {
$classType = $grid->getClassType();
if (!is_null($block)) {
$classType = $block->getClassType();
} elseif (isset($params['additional']['class_type'])) {
$classType = $params['additional']['class_type'];
} else {
Expand Down
2 changes: 1 addition & 1 deletion js/bl/customgrid/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2078,4 +2078,4 @@ blcg.Filter.Categories.prototype = {
blcg.Tools.closeDialog(this.window);
}
}
}
};

0 comments on commit c7634ac

Please sign in to comment.