@@ -329,6 +329,9 @@ |
||
| 329 | 329 | return $rows; |
| 330 | 330 | } |
| 331 | 331 | |
| 332 | + /** |
|
| 333 | + * @param DataManager $dataManager |
|
| 334 | + */ |
|
| 332 | 335 | public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null) |
| 333 | 336 | { |
| 334 | 337 | $modelName = get_class($item); |
@@ -9,6 +9,6 @@ |
||
| 9 | 9 | <a href='#' onclick='inji.Ui.dataManagers.get(this).switchCategory(this);return false;' data-index='<?= $model::index(); ?>' data-path ='/' data-id='0'> Корень</a> |
| 10 | 10 | <div class="categoryTree"> |
| 11 | 11 | <?php |
| 12 | - $dataManager->drawCategorys(); |
|
| 13 | - ?> |
|
| 12 | + $dataManager->drawCategorys(); |
|
| 13 | + ?> |
|
| 14 | 14 | </div> |
| 15 | 15 | \ No newline at end of file |