Browse Source

BI-26782

es6
iapyang 6 years ago
parent
commit
5ba016328c
  1. 2
      dist/_fineui.min.js
  2. 73440
      dist/base.js
  3. 228362
      dist/bundle.js
  4. 8
      dist/bundle.min.js
  5. 228860
      dist/fineui.js
  6. 16
      dist/fineui.min.js
  7. 50864
      dist/widget.js
  8. 14
      src/base/formula/formulaeditor.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

73440
dist/base.js vendored

File diff suppressed because it is too large Load Diff

228362
dist/bundle.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

228860
dist/fineui.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

50864
dist/widget.js vendored

File diff suppressed because it is too large Load Diff

14
src/base/formula/formulaeditor.js

@ -202,7 +202,12 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
return this.editor.getValue(true, function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
var markedSpans = _.clone(line.markedSpans);
markedSpans.sort(function (a, b) {
return a.from > b.from;
});
_.forEach(markedSpans, function (i, ms) {
switch (i.marker.className) {
case "fieldName":
@ -223,7 +228,12 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
var markedSpans = _.clone(line.markedSpans);
markedSpans.sort(function (a, b) {
return a.from > b.from;
});
_.forEach(markedSpans, function (i, ms) {
switch (i.marker.className) {
case "fieldName":
case "error-field":

Loading…
Cancel
Save