* Fix bug#306.

This commit is contained in:
wangchunsheng
2012-06-22 08:44:54 +00:00
parent 528825e435
commit 629a91c27b
4 changed files with 52 additions and 15 deletions
+14
View File
@@ -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.
*