From ab34d4af9622771b71aac89f8dfd3192faec0164 Mon Sep 17 00:00:00 2001 From: SilverFire - Dmitry Naumenko Date: Thu, 18 Feb 2016 16:48:07 +0200 Subject: [PATCH] Changed XEditableColumn import namespace --- src/grid/ServerGridView.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/grid/ServerGridView.php b/src/grid/ServerGridView.php index 4b1b4318..e350754d 100644 --- a/src/grid/ServerGridView.php +++ b/src/grid/ServerGridView.php @@ -7,6 +7,7 @@ namespace hipanel\modules\server\grid; +use hipanel\grid\XEditableColumn; use hipanel\helpers\Url; use hipanel\widgets\ArraySpoiler; use Yii; @@ -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' => [ @@ -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' => [