guy 8 years ago
parent
commit
a38a040be1
  1. 2
      bi/case.js
  2. 2
      docs/case.js
  3. 2
      src/case/combo/formulacombo/trigger.formulacombo.js

2
bi/case.js

@ -4023,7 +4023,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, {
var str = item.match(fieldRegx); var str = item.match(fieldRegx);
if (BI.isNotEmptyArray(str)) { if (BI.isNotEmptyArray(str)) {
var id = str[0].substring(2, item.length - 1); var id = str[0].substring(2, item.length - 1);
var item = BI.find(self.options.items, function (i, item) { var item = BI.find(BI.flatten(self.options.items), function (i, item) {
return id === item.value; return id === item.value;
}); });
formulaString = formulaString + item.text; formulaString = formulaString + item.text;

2
docs/case.js

@ -4023,7 +4023,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, {
var str = item.match(fieldRegx); var str = item.match(fieldRegx);
if (BI.isNotEmptyArray(str)) { if (BI.isNotEmptyArray(str)) {
var id = str[0].substring(2, item.length - 1); var id = str[0].substring(2, item.length - 1);
var item = BI.find(self.options.items, function (i, item) { var item = BI.find(BI.flatten(self.options.items), function (i, item) {
return id === item.value; return id === item.value;
}); });
formulaString = formulaString + item.text; formulaString = formulaString + item.text;

2
src/case/combo/formulacombo/trigger.formulacombo.js

@ -36,7 +36,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, {
var str = item.match(fieldRegx); var str = item.match(fieldRegx);
if (BI.isNotEmptyArray(str)) { if (BI.isNotEmptyArray(str)) {
var id = str[0].substring(2, item.length - 1); var id = str[0].substring(2, item.length - 1);
var item = BI.find(self.options.items, function (i, item) { var item = BI.find(BI.flatten(self.options.items), function (i, item) {
return id === item.value; return id === item.value;
}); });
formulaString = formulaString + item.text; formulaString = formulaString + item.text;

Loading…
Cancel
Save