Skip to content

Commit 8aaa1ca

Browse files
FAQ
1 parent 0913e48 commit 8aaa1ca

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/controllers/StoreProductController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,8 @@ public function actionAutoCreate()
778778
} catch (\Exception $e) {
779779
$t->rollBack();
780780
/*print_r($shopStoreProduct->name);die;*/
781-
throw $e;
782-
die;
781+
/*throw $e;
782+
die;*/
783783
continue;
784784
}
785785

src/views/admin-cms-content-element/faq.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
$model = $tree;
1717

1818

19-
20-
2119
?>
2220

2321
<?php
@@ -80,14 +78,14 @@ function() {
8078
<div style="display: none;" class="sx-search-property-element-wrapper">
8179
<?
8280

83-
$url = \yii\helpers\Url::to(['/cms/admin-cms-faq/join-tree']);
81+
$url = \yii\helpers\Url::to(['/cms/admin-cms-faq/join-element']);
8482

8583
$this->registerJs(<<<JS
8684
var propertyUrl = "{$url}";
8785
$("#search-exist-faq").on("change", function() {
8886
var ajaxQuery = sx.ajax.preparePostQuery(propertyUrl + "&pk=" + $(this).val());
8987
ajaxQuery.setData({
90-
'tree_id': {$tree->id},
88+
'element_id': {$tree->id},
9189
});
9290
9391
console.log(ajaxQuery.toArray());

0 commit comments

Comments
 (0)