Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5-bin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5-bin
Commits
5054680c
Commit
5054680c
authored
Oct 13, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_notebook: notebook execution continues after cell errors
parent
61b116a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
...ateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
+11
-1
No files found.
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
View file @
5054680c
...
@@ -518,7 +518,17 @@
...
@@ -518,7 +518,17 @@
function
deferCellExecution
(
cell
)
{
function
deferCellExecution
(
cell
)
{
return
function
()
{
return
function
()
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
executeCell
(
cell
);
return
executeCell
(
cell
);
})
.
push
(
undefined
,
function
(
error
)
{
//errors in cell execution must be part of the notebook result
//notebook execution must continue
var
pre
=
document
.
createElement
(
'
pre
'
);
pre
.
textContent
=
error
;
document
.
body
.
appendChild
(
pre
);
});
};
};
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment