Skip to content

Commit 55b3fa7

Browse files
committed
0.4.8
Корзина
1 parent 4007b7c commit 55b3fa7

File tree

76 files changed

+2169
-1751
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2169
-1751
lines changed

backend/modules/document/controllers/BasketController.php

Lines changed: 0 additions & 84 deletions
This file was deleted.

backend/modules/document/controllers/ElementManageController.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public function actionRefreshElements($id_folder)
8181
*/
8282
public function actionCreateElement($id_folder)
8383
{
84-
/*if (!Yii::$app->request->isPjax) {
84+
if (!Yii::$app->request->isPjax) {
8585
return $this->redirect(['/document/manage/index']);
86-
}*/
86+
}
8787

8888
$parentData = (new \yii\db\Query())
8989
->select(['*'])
@@ -129,9 +129,9 @@ public function actionCreateElement($id_folder)
129129
*/
130130
public function actionUpdateElement($id_document, $id_folder)
131131
{
132-
/*if (!Yii::$app->request->isPjax) {
132+
if (!Yii::$app->request->isPjax) {
133133
return $this->redirect(['/document/manage/index']);
134-
}*/
134+
}
135135

136136
$parentData = (new \yii\db\Query())
137137
->select(['*'])
@@ -279,14 +279,14 @@ public function actionDeleteFile($id)
279279
);
280280

281281
if ($modelValueFileForm->type == Constants::FIELD_TYPE_FILE) {
282-
return $this->renderAjax('@common/widgets/TemplateOfElement/views/default-fields/__file', ['modelValueFileForm' => null]);
282+
return $this->renderAjax('@common/widgets/TemplateOfElement/views/default-fields/_file', ['modelValueFileForm' => null]);
283283
}
284284

285285
$manyValueFileForm = ValueFileForm::findAll([
286286
'field_id' => $modelValueFileForm->field_id,
287287
'document_id' => $modelValueFileForm->document_id,
288288
]);
289289

290-
return $this->renderAjax('@common/widgets/TemplateOfElement/views/default-fields/__files', ['manyValueFileForm' => $manyValueFileForm]);
290+
return $this->renderAjax('@common/widgets/TemplateOfElement/views/default-fields/_files', ['manyValueFileForm' => $manyValueFileForm]);
291291
}
292292
}

backend/modules/document/views/basket/_grid-basket-block.php

Lines changed: 0 additions & 153 deletions
This file was deleted.

backend/modules/document/views/basket/index.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

backend/modules/document/views/basket/view-basket.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)