Skip to content

Commit

Permalink
Dev: Removed green hover effect and enabled default one
Browse files Browse the repository at this point in the history
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent 53a3d78 commit c01f09e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/extensions/bootstrap/widgets/TbGridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TbGridView extends CGridView
public function init()
{
parent::init();
$classes = array('table');
$classes = array('table table-hover');
if (isset($this->type) && !empty($this->type)) {
if (is_string($this->type)) {
$this->type = explode(' ', $this->type);
Expand Down
4 changes: 2 additions & 2 deletions application/views/userGroup/usergroups_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'header' => gT('User group ID'),
'name' => 'usergroup_id',
'value' => '$data->ugid',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => 'col-md-2'),
),

array(
Expand Down Expand Up @@ -80,7 +80,7 @@
),
),

'htmlOptions' => array('style' => 'cursor: pointer;', 'class' => 'hoverAction'),
'htmlOptions' => array('style' => 'cursor: pointer;'),
'selectionChanged' => "function(id){window.location='" . Yii::app()->urlManager->createUrl('userGroup/viewGroup/ugid') . '/' . "' + $.fn.yiiGridView.getSelection(id.split(',', 1));}",
'ajaxUpdate' => 'usergroups-grid-mine',
));
Expand Down

0 comments on commit c01f09e

Please sign in to comment.