Lines Matching refs:hns
58 * @param {number|string} hns page id of headpage of namespace
63 function dTreeNode(dokuid, id, pid, name, hns, isdir, ajax) {
73 this.hns = hns; // headpage of namespace or zero
180 * @param {number|string} hns page id of headpage of namespace
184 dTree.prototype.add = function (dokuid, id, pid, name, hns, isdir, ajax) {
185 this.aNodes[this.aNodes.length] = new dTreeNode(dokuid, id, pid, name, hns, isdir, ajax);
255 if (this.pageid === (!cn.hns && cn.dokuid || cn.hns)) {
262 if (!cn._hc && cn.isdir && !cn.ajax && !cn.hns) {
306 node.icon = (this.root.id === node.pid) ? this.icon.root : ((node.hns) ? this.icon.folderH : ((node._hc) ? this.icon.folder : this.icon.node));
307 node.iconOpen = (node._hc) ? ((node.hns) ? this.icon.folderHOpen : this.icon.folderOpen) : this.icon.node;
313 if (!node._hc || node.hns) {
316 (node.hns) ? str += node.hns : str += node.dokuid;
620 if (cns === cn.dokuid || cns === cn.hns) {
628 if (cnsa === cn.dokuid || cnsa === cn.hns) {
808 id = (this.aNodes[n].hns) ? this.aNodes[n].hns : this.aNodes[n].dokuid;
951 if (node.hns) {