* Fix bug#306.
This commit is contained in:
@@ -142,6 +142,20 @@ class tree extends control
|
||||
die($this->display());
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix path, grades.
|
||||
*
|
||||
* @param string $root
|
||||
* @param string $type
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function fix($root, $type)
|
||||
{
|
||||
$this->tree->fixModulePath($root, $type);
|
||||
die(js::alert($this->lang->tree->successFixed) . js::reload('parent'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update modules' orders.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user