* Fix openApp in doc.
This commit is contained in:
@@ -352,6 +352,10 @@ class doc extends control
|
||||
$this->execution->setMenu($objectID);
|
||||
unset($this->lang->exectuion->menu->doc['subMenu']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->app->rawMethod = $objectType;
|
||||
}
|
||||
|
||||
$lib = $this->doc->getLibByID($libID);
|
||||
$type = $lib->type;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
.main-row > .side-col {transition: width .2s;}
|
||||
.main-row > .main-col .article-content {transition: max-width; margin: 0 auto !important;}
|
||||
.main-row > .side-col > .cell {transition: opacity .2s;}
|
||||
.main-row > .side-col > .cell {transition: opacity .2s; margin-bottom: 10px;}
|
||||
.doc-fullscreen .main-row > .side-col {width: 0; position: relative; overflow: hidden;}
|
||||
.doc-fullscreen .fullscreen-btn > .icon-fullscreen:before {content: '\e972';}
|
||||
.right-icon a {color: #1183fb;}
|
||||
|
||||
@@ -1975,7 +1975,7 @@ EOF;
|
||||
foreach($moduleDocs[0] as $doc)
|
||||
{
|
||||
if(!$docID) $docID = $doc->id;
|
||||
$treeMenu[0] .= '<li' . ($doc->id == $docID ? ' class="active"' : '') . '>' . html::a(inlink('objectLibs', "type=$type&objectID=$objectID&libID=$rootID&docID={$doc->id}"), $doc->title) . '</li>';
|
||||
$treeMenu[0] .= '<li' . ($doc->id == $docID ? ' class="active"' : '') . '>' . html::a(inlink('objectLibs', "type=$type&objectID=$objectID&libID=$rootID&docID={$doc->id}"), $doc->title, '', "data-app='{$this->app->openApp}'") . '</li>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2007,7 +2007,7 @@ EOF;
|
||||
foreach($moduleDocs[$module->id] as $doc)
|
||||
{
|
||||
if(!$docID) $docID = $doc->id;
|
||||
$treeMenu[$module->id] .= '<li' . ($doc->id == $docID ? ' class="active"' : '') . '>' . html::a(inlink('objectLibs', "type=$type&objectID=$objectID&libID=$libID&docID={$doc->id}"), $doc->title) . '</li>';
|
||||
$treeMenu[$module->id] .= '<li' . ($doc->id == $docID ? ' class="active"' : '') . '>' . html::a(inlink('objectLibs', "type=$type&objectID=$objectID&libID=$libID&docID={$doc->id}"), $doc->title, '', "data-app='{$this->app->openApp}'") . '</li>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user