Skip to content

Commit

Permalink
Removed grid row url, to prevent accident clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed Jan 27, 2017
1 parent 062369a commit da40ea9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/code/community/TM/Core/Block/Adminhtml/Module/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function _prepareColumns()

$this->addColumn('actions', array(
'header' => Mage::helper('tmcore')->__('Actions'),
'width' => '250px',
'width' => '160px',
'filter' => false,
'sortable' => false,
'renderer' => 'tmcore/adminhtml_module_grid_renderer_actions'
Expand All @@ -62,9 +62,6 @@ public function getGridUrl()

public function getRowUrl($row)
{
if ($row->hasUpgradesDir() || $row->getIdentityKeyLink()) {
return $this->getUrl('*/*/manage', array('id' => $row->getId()));
}
return false;
}
}

0 comments on commit da40ea9

Please sign in to comment.