-

doc->createlib;?>

+

doc->createLib;?>

diff --git a/module/doc/view/editlib.html.php b/module/doc/view/editlib.html.php index 4b4a8e44c8..76e8564b07 100644 --- a/module/doc/view/editlib.html.php +++ b/module/doc/view/editlib.html.php @@ -17,10 +17,10 @@

icons['doclib']);?> - doc->editlib;?> + doc->editLib;?>

- +
product)):?> diff --git a/module/doc/view/side.html.php b/module/doc/view/side.html.php index bc43b010a0..35b3ef36ab 100644 --- a/module/doc/view/side.html.php +++ b/module/doc/view/side.html.php @@ -25,9 +25,9 @@ $sideWidth = common::checkNotCN() ? '270' : '238';
- doc->manageType, '', "class='btn btn-info btn-wide'");?> - doc->editLib, '', "class='btn btn-info btn-wide'");?> - doc->deleteLib, '', "class='btn btn-info btn-wide'");?> + doc->manageType, '', "class='btn btn-info btn-wide iframe'", '', true);?> + doc->editLib, '', "class='btn btn-info btn-wide iframe'", '', true);?> + doc->deleteLib, 'hiddenwin', "class='btn btn-info btn-wide'");?>
diff --git a/module/tree/control.php b/module/tree/control.php index 15a47eee5c..afa55617b5 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -374,6 +374,7 @@ class tree extends control { $this->tree->manageChild($rootID, $viewType); + if($viewType == 'doc' and isonlybody()) die(js::reload('parent.parent')); if(isonlybody()) die(js::closeModal('parent.parent', '', "function(){parent.parent.$('a.refresh').click()}")); die(js::reload('parent'));