Lines Matching defs:n

244     let str = '', cn, n = pNode._ai, l = pNode._lvl + 1;
245 for (n; n < this.aNodes.length; n++) {
246 if (this.aNodes[n].pid === pNode.id) {
247 cn = this.aNodes[n];
249 cn._ai = n;
259 this.selectedNode = n;
264 str += this.noderr(cn, n);
267 str += this.node(cn, n);
346 let n, str = '';
348 for (n = 0; n < this.aIndent.length; n++) {
349 str += '<img src="' + ( (this.aIndent[n] === 1) ? this.icon.line : this.icon.empty ) + '" alt="" />';
374 let lastId, n;
375 for (n = 0; n < this.aNodes.length; n++) {
376 if (this.aNodes[n].pid === node.id) {
379 if (this.aNodes[n].pid === node.pid) {
380 lastId = this.aNodes[n].id;
445 for (let n = 0; n < this.aNodes.length; n++) {
446 if (this.aNodes[n]._hc && this.aNodes[n].pid !== this.root.id) {
447 this.nodeStatus(status, n, this.aNodes[n]._ls);
448 this.aNodes[n]._io = status;
464 let n, cn;
466 for (n = 0; n < this.aNodes.length; n++) {
467 if (this.aNodes[n].id === nId) {
468 nId = n;
497 for (let n = 0; n < nodes.length; n++) {
498 this.openTo(nodes[n], false, true);
574 let str = '', n;
575 for (n = 0; n < this.aNodes.length; n++) {
576 if (this.aNodes[n]._io && this.aNodes[n].pid !== this.root.id) {
580 str += this.aNodes[n].id;
593 let n, aOpen = this.getCookie('co' + this.treeName).split('.');
594 for (n = 0; n < aOpen.length; n++) {
595 if (parseInt(aOpen[n],10) === id) {
608 let r, cn, match, t, i, n, cnsa, cna;
614 n = (this.aNodes[0].dokuid === '') ? 0 : this.aNodes[0].dokuid.split(this.config.sepchar).length;
615 t.splice(max + n, t.length);
648 let n = id, $eLoad, a, rd, ln, eDiv;
649 if (this.aNodes[n].ajax) {
655 jQuery('#s' + this.treeName + n).parent().append($eLoad);
662 this.getAjax(n);
666 while (!this.aNodes[n]._ok) {
667 rd[rd.length] = n;
668 n = this.aNodes[n].pid;
678 n = a;
679 while (n.pid >= 0) {
680 if (n._ls) {
685 n = n._p;
697 let n, cn, aOpen = this.getCookie('co' + this.treeName).split('.');
698 for (n = 0; n < aOpen.length; n++) {
699 if (aOpen[n] === "") {
702 cn = this.aNodes[aOpen[n]];
704 this.nodeStatus(true, aOpen[n], cn._ls);
715 * @param {int} n parent node id
718 dTree.prototype.scroll = function (where, s, n, i) {
729 nodeId = jQuery('#s' + this.treeName + n)[0];
801 * @param {int} n node id
803 dTree.prototype.show_feat = function (n) {
804 var w, div, id, dtree, dtreel, self, node = jQuery('#s' + this.treeName + n)[0];
808 id = (this.aNodes[n].hns) ? this.aNodes[n].hns : this.aNodes[n].dokuid;
821 self.scroll("l", 1, n, 0);
825 self.scroll("l", 4, n, 1);
872 * @param {int} n node id
874 dTree.prototype.getAjax = function (n) {
877 node = selft.aNodes[n];
933 * @param {int} n node id
937 dTree.prototype.contextmenu = function (n, e) {
946 node = this.aNodes[n];
950 IndexmenuContextmenu.arrconcat(cmenu['all'][type], this, n);
952 IndexmenuContextmenu.arrconcat(cmenu[type], this, n);
954 IndexmenuContextmenu.arrconcat(cmenu['all'][type], this, n);
956 IndexmenuContextmenu.arrconcat(cmenu[type], this, n);