Lines Matching refs:d

1325 				return s.call(this, obj, $.proxy(function (d) {  argument
1326 if(d === false) {
1329d === 'string' ? '_append_html_data' : '_append_json_data'](obj, typeof d === 'string' ? $($.parse…
1345 .done($.proxy(function (d,t,x) { argument
1347 if((type && type.indexOf('json') !== -1) || typeof d === "object") {
1348 return this._append_json_data(obj, d, function (status) { callback.call(this, status); });
1351 if((type && type.indexOf('html') !== -1) || typeof d === "string") {
1352 …return this._append_html_data(obj, $($.parseHTML(d)).filter(function () { return this.nodeType !==…
1475 if(data.d) {
1476 data = data.d;
1506 parse_flat = function (d, p, ps) { argument
1510 var tid = d.id.toString(),
1514 text : d.text || '',
1515 icon : d.icon !== undefined ? d.icon : true,
1518 children : d.children || [],
1519 children_d : d.children_d || [],
1520 data : d.data,
1531 if(d && d.data && d.data.jstree && d.data.jstree.icon) {
1532 tmp.icon = d.data.jstree.icon;
1537 if(d && d.data) {
1538 tmp.data = d.data;
1539 if(d.data.jstree) {
1540 for(i in d.data.jstree) {
1541 if(d.data.jstree.hasOwnProperty(i)) {
1542 tmp.state[i] = d.data.jstree[i];
1547 if(d && typeof d.state === 'object') {
1548 for (i in d.state) {
1549 if(d.state.hasOwnProperty(i)) {
1550 tmp.state[i] = d.state[i];
1554 if(d && typeof d.li_attr === 'object') {
1555 for (i in d.li_attr) {
1556 if(d.li_attr.hasOwnProperty(i)) {
1557 tmp.li_attr[i] = d.li_attr[i];
1564 if(d && typeof d.a_attr === 'object') {
1565 for (i in d.a_attr) {
1566 if(d.a_attr.hasOwnProperty(i)) {
1567 tmp.a_attr[i] = d.a_attr[i];
1571 if(d && d.children && d.children === true) {
1585 delete d.data;
1586 delete d.children;
1587 m[tmp.id].original = d;
1593 parse_nest = function (d, p, ps) { argument
1604 text : typeof d === 'string' ? d : '',
1605 icon : typeof d === 'object' && d.icon !== undefined ? d.icon : true,
1621 if(d && d.id) { tmp.id = d.id.toString(); }
1622 if(d && d.text) { tmp.text = d.text; }
1623 if(d && d.data && d.data.jstree && d.data.jstree.icon) {
1624 tmp.icon = d.data.jstree.icon;
1629 if(d && d.data) {
1630 tmp.data = d.data;
1631 if(d.data.jstree) {
1632 for(i in d.data.jstree) {
1633 if(d.data.jstree.hasOwnProperty(i)) {
1634 tmp.state[i] = d.data.jstree[i];
1639 if(d && typeof d.state === 'object') {
1640 for (i in d.state) {
1641 if(d.state.hasOwnProperty(i)) {
1642 tmp.state[i] = d.state[i];
1646 if(d && typeof d.li_attr === 'object') {
1647 for (i in d.li_attr) {
1648 if(d.li_attr.hasOwnProperty(i)) {
1649 tmp.li_attr[i] = d.li_attr[i];
1662 if(d && typeof d.a_attr === 'object') {
1663 for (i in d.a_attr) {
1664 if(d.a_attr.hasOwnProperty(i)) {
1665 tmp.a_attr[i] = d.a_attr[i];
1669 if(d && d.children && d.children.length) {
1670 for(i = 0, j = d.children.length; i < j; i++) {
1671 c = parse_nest(d.children[i], tmp.id, ps);
1680 if(d && d.children && d.children === true) {
1685 delete d.data;
1686 delete d.children;
1687 tmp.original = d;
1866 _parse_model_from_html : function (d, p, ps) { argument
1890 tmp = $.vakata.attributes(d, true);
1899 tmp = d.children('a').first();
1909 tmp = d.children("a").first().length ? d.children("a").first().clone() : d.clone();
1914 tmp = d.data();
1916 data.state.opened = d.hasClass('jstree-open');
1917 data.state.selected = d.children('a').hasClass('jstree-clicked');
1918 data.state.disabled = d.children('a').hasClass('jstree-disabled');
1926 tmp = d.children("a").children(".jstree-themeicon");
1936 tmp = d.children("ul").children("li");
1953 if(d.hasClass('jstree-closed')) {
1978 _parse_model_from_flat_json : function (d, p, ps) { argument
1982 var tid = d.id.toString(),
1988 text : d.text || '',
1989 icon : d.icon !== undefined ? d.icon : true,
1992 children : d.children || [],
1993 children_d : d.children_d || [],
1994 data : d.data,
2005 if(d && d.data && d.data.jstree && d.data.jstree.icon) {
2006 tmp.icon = d.data.jstree.icon;
2011 if(d && d.data) {
2012 tmp.data = d.data;
2013 if(d.data.jstree) {
2014 for(i in d.data.jstree) {
2015 if(d.data.jstree.hasOwnProperty(i)) {
2016 tmp.state[i] = d.data.jstree[i];
2021 if(d && typeof d.state === 'object') {
2022 for (i in d.state) {
2023 if(d.state.hasOwnProperty(i)) {
2024 tmp.state[i] = d.state[i];
2028 if(d && typeof d.li_attr === 'object') {
2029 for (i in d.li_attr) {
2030 if(d.li_attr.hasOwnProperty(i)) {
2031 tmp.li_attr[i] = d.li_attr[i];
2038 if(d && typeof d.a_attr === 'object') {
2039 for (i in d.a_attr) {
2040 if(d.a_attr.hasOwnProperty(i)) {
2041 tmp.a_attr[i] = d.a_attr[i];
2045 if(d && d.children && d.children === true) {
2059 delete d.data;
2060 delete d.children;
2061 m[tmp.id].original = d;
2076 _parse_model_from_json : function (d, p, ps) { argument
2087 text : typeof d === 'string' ? d : '',
2088 icon : typeof d === 'object' && d.icon !== undefined ? d.icon : true,
2104 if(d && d.id) { tmp.id = d.id.toString(); }
2105 if(d && d.text) { tmp.text = d.text; }
2106 if(d && d.data && d.data.jstree && d.data.jstree.icon) {
2107 tmp.icon = d.data.jstree.icon;
2112 if(d && d.data) {
2113 tmp.data = d.data;
2114 if(d.data.jstree) {
2115 for(i in d.data.jstree) {
2116 if(d.data.jstree.hasOwnProperty(i)) {
2117 tmp.state[i] = d.data.jstree[i];
2122 if(d && typeof d.state === 'object') {
2123 for (i in d.state) {
2124 if(d.state.hasOwnProperty(i)) {
2125 tmp.state[i] = d.state[i];
2129 if(d && typeof d.li_attr === 'object') {
2130 for (i in d.li_attr) {
2131 if(d.li_attr.hasOwnProperty(i)) {
2132 tmp.li_attr[i] = d.li_attr[i];
2145 if(d && typeof d.a_attr === 'object') {
2146 for (i in d.a_attr) {
2147 if(d.a_attr.hasOwnProperty(i)) {
2148 tmp.a_attr[i] = d.a_attr[i];
2152 if(d && d.children && d.children.length) {
2153 for(i = 0, j = d.children.length; i < j; i++) {
2154 c = this._parse_model_from_json(d.children[i], tmp.id, ps);
2163 if(d && d.children && d.children === true) {
2168 delete d.data;
2169 delete d.children;
2170 tmp.original = d;
2243 d = document;
2252 k = d.createElement('UL');
2279 d = document,
2390 node.childNodes[1].appendChild(d.createTextNode(obj.text));
2398 k = d.createElement('UL');
2421 tmp = d.createElement('UL');
2459 var t1, t2, d, t;
2489 d = this.get_node(obj, true);
2491 if(d.length) {
2492 if(animation && d.children(".jstree-children").length) {
2493 d.children(".jstree-children").stop(true, true);
2495 if(obj.children.length && !this._firstChild(d.children('.jstree-children')[0])) {
2501 d[0].className = d[0].className.replace('jstree-closed', 'jstree-open');
2502 d[0].setAttribute("aria-expanded", true);
2506 d
2520 if(!d.length) {
2536 if(!animation || !d.length) {
2574 var t1, t2, t, d;
2591 d = this.get_node(obj, true);
2592 if(d.length) {
2594 d[0].className = d[0].className.replace('jstree-open', 'jstree-closed');
2595 d.attr("aria-expanded", false).children('.jstree-children').remove();
2598 d
2603 d.children('.jstree-children').remove();
2616 if(!animation || !d.length) {
4888 …var s = this.settings.checkbox.cascade, i, j, t = this.settings.checkbox.tie_selection, d = this._…
4896 …if($.inArray(obj.children_d[i], d) !== -1 || (!m[obj.children_d[i]].state.loaded && m[obj.children…
5403 d = this.get_node(obj, true),
5404 a = d.children(".jstree-anchor"),
5438 var d = this.get_node(obj, true),
5439 a = d.children(".jstree-anchor");
6208 var d = false, w = false,
6239 d = $(document); w = $(window);
6240 dh = d.height(); wh = w.height();
6241 dw = d.width(); ww = w.width();
6242 dt = d.scrollTop(); dl = d.scrollLeft();
6248 vakata_dnd.scroll_e = d;
6384 var d = this._data.massload[obj.id];
6385 if(d) {
6386d === 'string' ? '_append_html_data' : '_append_json_data'](obj, typeof d === 'string' ? $($.parse…
6533 return a.call(this, str, $.proxy(function (d) { argument
6534 if(d && d.d) { d = d.d; }
6535 this._load_nodes(!$.isArray(d) ? [] : $.vakata.array_unique(d), function () {
6552 .done($.proxy(function (d) { argument
6553 if(d && d.d) { d = d.d; }
6554 this._load_nodes(!$.isArray(d) ? [] : $.vakata.array_unique(d), function () {
6633 this._search_open = function (d) { argument
6635 $.each(d.concat([]), function (i, v) {
6641 t.open_node(v, function () { t._search_open(d); }, 0);
7070 … && obj.id ? (more && more.origin ? more.origin : $.jstree.reference(obj.id)) : null, tmp, d, i, j;
7087 d = 0;
7089 d = Math.max(d, m[obj.children_d[i]].parents.length);
7091 d = d - obj.parents.length + 1;
7093 if(d <= 0 || d === undefined) { d = 1; }
7095 if(tmp.max_depth !== undefined && tmp.max_depth !== -1 && tmp.max_depth < d) {
7101 d++;