Skip to content

Commit

Permalink
Changed XEditableColumn import namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Feb 18, 2016
1 parent eb01b7e commit ab34d4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/grid/ServerGridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace hipanel\modules\server\grid;

use hipanel\grid\XEditableColumn;
use hipanel\helpers\Url;
use hipanel\widgets\ArraySpoiler;
use Yii;
Expand Down Expand Up @@ -164,9 +165,8 @@ public static function defaultColumns()
'format' => 'date',
],
'note' => [
'class' => 'hiqdev\xeditable\grid\XEditableColumn',
'class' => XEditableColumn::class,
'pluginOptions' => [
'emptytext' => Yii::t('app', 'set note'),
'url' => Url::to('set-note')
],
'widgetOptions' => [
Expand All @@ -176,10 +176,9 @@ public static function defaultColumns()
]
],
'label' => [
'class' => 'hiqdev\xeditable\grid\XEditableColumn',
'class' => XEditableColumn::class,
'visible' => Yii::$app->user->can('support'),
'pluginOptions' => [
'emptytext' => Yii::t('app', 'set internal note'),
'url' => Url::to('set-label')
],
'widgetOptions' => [
Expand Down

0 comments on commit ab34d4a

Please sign in to comment.