Lines Matching refs:cn
244 let str = '', cn, n = pNode._ai, l = pNode._lvl + 1;
247 cn = this.aNodes[n];
248 cn._p = pNode;
249 cn._ai = n;
250 cn._lvl = l;
251 this.setCS(cn);
252 if (cn._hc && !cn._io && this.config.useCookies) {
253 cn._io = this.isOpen(cn.id);
255 if (this.pageid === (!cn.hns && cn.dokuid || cn.hns)) {
256 cn._cp = true;
257 } else if (cn.id === this.selectedNode && !this.selectedFound) {
258 cn._is = true;
262 if (!cn._hc && cn.isdir && !cn.ajax && !cn.hns) {
263 if (cn._ls) {
264 str += this.noderr(cn, n);
267 str += this.node(cn, n);
269 if (cn._ls) {
404 let eOld, eNew, cn = this.aNodes[id];
417 this.setCookie('cs' + this.treeName, cn.id);
428 let cn = this.aNodes[id];
429 this.nodeStatus(!cn._io, id, cn._ls);
430 cn._io = !cn._io;
464 let n, cn;
474 cn = this.aNodes[nId];
475 if (cn.pid === this.root.id || !cn._p) {
478 cn._io = 1;
479 if (this.completed && cn._hc) {
480 this.nodeStatus(true, cn._ai, cn._ls);
482 if (cn._is) {
483 (this.completed) ? this.s(cn._ai) : this._sn = cn._ai;
485 this.openTo(cn._p._ai, false, true);
608 let r, cn, match, t, i, n, cnsa, cna;
619 cn = this.aNodes[i];
620 if (cns === cn.dokuid || cns === cn.hns) {
621 this.openTo(cn.id, false, true);
623 if (cn.pid >= 0) {
624 jQuery(this.scroll("l", 4, cn.pid, 1));
628 if (cnsa === cn.dokuid || cnsa === cn.hns) {
629 cna = cn;
697 let n, cn, aOpen = this.getCookie('co' + this.treeName).split('.');
702 cn = this.aNodes[aOpen[n]];
703 if (!cn._ok) {
704 this.nodeStatus(true, aOpen[n], cn._ls);
705 cn._io = true;