mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(dom) getPanel
This commit is contained in:
parent
45f59f18c2
commit
40c1d825ad
1 changed files with 3 additions and 1 deletions
|
|
@ -1863,7 +1863,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
* @param pPanel_o = {active: true}
|
||||
*/
|
||||
this.getPanel = function(pActive) {
|
||||
var lPanel = this.getCurrentFile().parentElement.parentElement;
|
||||
var lCurrent = this.getCurrentFile(),
|
||||
files = lCurrent.parentElement,
|
||||
lPanel = files.parentElement;
|
||||
|
||||
/* if {active : false} getting passive panel */
|
||||
if (pActive && !pActive.active) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue