guy 8 years ago
parent
commit
f7167bf7da
  1. 7
      bi/widget.js
  2. 7
      docs/widget.js
  3. 7
      src/component/treevaluechooser/abstract.treevaluechooser.js

7
bi/widget.js

@ -17421,7 +17421,7 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree
function expandSelectedValue(selectedValues, parents, notSelectedValue) { function expandSelectedValue(selectedValues, parents, notSelectedValue) {
var next = selectedValues; var next = selectedValues;
//去掉点击的节点之后的结果集 //去掉点击的节点之后的结果集
BI.each(parents, function (i, v) { BI.some(parents, function (i, v) {
var t = next[v]; var t = next[v];
if (t == null) { if (t == null) {
if (BI.isEmpty(next)) { if (BI.isEmpty(next)) {
@ -17435,8 +17435,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree
}); });
next = next[v]; next = next[v];
} else { } else {
next = {}; return true;
next[v] = {}; // next = {};
// next[v] = {};
} }
} else { } else {
next = t; next = t;

7
docs/widget.js

@ -17421,7 +17421,7 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree
function expandSelectedValue(selectedValues, parents, notSelectedValue) { function expandSelectedValue(selectedValues, parents, notSelectedValue) {
var next = selectedValues; var next = selectedValues;
//去掉点击的节点之后的结果集 //去掉点击的节点之后的结果集
BI.each(parents, function (i, v) { BI.some(parents, function (i, v) {
var t = next[v]; var t = next[v];
if (t == null) { if (t == null) {
if (BI.isEmpty(next)) { if (BI.isEmpty(next)) {
@ -17435,8 +17435,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree
}); });
next = next[v]; next = next[v];
} else { } else {
next = {}; return true;
next[v] = {}; // next = {};
// next[v] = {};
} }
} else { } else {
next = t; next = t;

7
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -182,7 +182,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
function expandSelectedValue(selectedValues, parents, notSelectedValue) { function expandSelectedValue(selectedValues, parents, notSelectedValue) {
var next = selectedValues; var next = selectedValues;
//去掉点击的节点之后的结果集 //去掉点击的节点之后的结果集
BI.each(parents, function (i, v) { BI.some(parents, function (i, v) {
var t = next[v]; var t = next[v];
if (t == null) { if (t == null) {
if (BI.isEmpty(next)) { if (BI.isEmpty(next)) {
@ -196,8 +196,9 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
}); });
next = next[v]; next = next[v];
} else { } else {
next = {}; return true;
next[v] = {}; // next = {};
// next[v] = {};
} }
} else { } else {
next = t; next = t;

Loading…
Cancel
Save