diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-24 02:27:59 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-24 02:27:59 +0300 |
commit | b90291f9ed323ebc1a23874f25735fe660dd2a83 (patch) | |
tree | 3d6dd720990373de042a4fcf395aa660da21dad3 /src/controllers/SqleditController.php | |
parent | 57b3703e844f72992a231cc58d97e8b4ed92366e (diff) |
add root element for jstree
Diffstat (limited to 'src/controllers/SqleditController.php')
-rw-r--r-- | src/controllers/SqleditController.php | 10 |
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'); |