Skip to content

Commit

Permalink
[se] Add code error
Browse files Browse the repository at this point in the history
  • Loading branch information
GoshaZotov committed Oct 13, 2023
1 parent e5a4a7f commit f725847
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cell/view/WorkbookView.js
Original file line number Diff line number Diff line change
Expand Up @@ -5561,6 +5561,7 @@
let t = this;
let callback = function (isSuccess) {
if (!isSuccess) {
t.handlers.trigger("asc_onError", c_oAscError.ID.LockedCellGoalSeek, c_oAscError.Level.NoCritical);
return;
}
//open history point
Expand Down
5 changes: 4 additions & 1 deletion common/errorCodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@
Warning : -101,
UpdateVersion : -102,

PrintMaxPagesCount : -110,
PrintMaxPagesCount : -110,

SessionAbsolute: -120,
SessionIdle: -121,
SessionToken: -122,

LockedCellGoalSeek : -200,

/* для формул */
FrmlMaxReference : -297,
FrmlMaxLength : -298,
Expand Down Expand Up @@ -315,6 +317,7 @@
prot['MustContainFormula'] = prot.MustContainFormula;
prot['MustFormulaResultNumber'] = prot.MustFormulaResultNumber;
prot['MustContainValue'] = prot.MustContainValue;
prot['LockedCellGoalSeek'] = prot.LockedCellGoalSeek;
prot['NoValues'] = prot.NoValues;
prot['NoSingleRowCol'] = prot.NoSingleRowCol;
prot['InvalidReference'] = prot.InvalidReference;
Expand Down

0 comments on commit f725847

Please sign in to comment.