Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-03-24 02:27:59 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-03-24 02:27:59 +0300
commitb90291f9ed323ebc1a23874f25735fe660dd2a83 (patch)
tree3d6dd720990373de042a4fcf395aa660da21dad3 /src/controllers/SqleditController.php
parent57b3703e844f72992a231cc58d97e8b4ed92366e (diff)
add root element for jstree
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r--src/controllers/SqleditController.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/controllers/SqleditController.php b/src/controllers/SqleditController.php
index 6793a8f5..8795aece 100644
--- a/src/controllers/SqleditController.php
+++ b/src/controllers/SqleditController.php
@@ -146,11 +146,11 @@ class SqleditController extends BaseController
$reqvars = [];
$attrs = [
- 'text' => 'Servers',
- 'icon' => 'Servers',
- 'root' => 'true',
- 'action' => Decorator::url('/src/views/servers'),
- 'branch' => Decorator::url('/src/views/servers', $reqvars, ['action' => 'tree']),
+ 'text' => 'Servers',
+ 'icon' => 'Servers',
+ 'is_root' => 'true',
+ 'action' => Decorator::url('/src/views/servers'),
+ 'branch' => Decorator::url('/src/views/servers', $reqvars, ['action' => 'tree']),
];
return $this->printTree($treedata, $attrs, 'server');