diff --git a/module/common/view/datatable.fix.html.php b/module/common/view/datatable.fix.html.php
index 4f0bb6264e..aa56307903 100644
--- a/module/common/view/datatable.fix.html.php
+++ b/module/common/view/datatable.fix.html.php
@@ -14,12 +14,12 @@ $(function()
{
var $dropdown = $("
");
var $dropmenu = $("");
-
- $dropmenu.append("datatable->showModule?>");
-
$dropmenu.append("datatable->switchToDatatable?>");
$dropdown.children('.dropdown').append($dropmenu);
$(table).before($dropdown);
+
+ $('.side .side-body .panel-body .tree').parent().append("");
+
$("a[data-toggle='showModuleModal']").click(function(){$('#showModuleModal').modal('show')});
}
diff --git a/module/tree/control.php b/module/tree/control.php
index f58576464b..de064b290d 100644
--- a/module/tree/control.php
+++ b/module/tree/control.php
@@ -113,6 +113,7 @@ class tree extends control
$this->view->sons = $this->tree->getSons($rootID, $currentModuleID, $viewType, $branch);
$this->view->currentModuleID = $currentModuleID;
$this->view->parentModules = $parentModules;
+ $this->view->branch = $branch;
$this->view->tree = $this->tree->getFullTrees($rootID, $viewType);
$this->display();
}