Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Basthon
Basthon Notebook
Commits
7921ef17
Commit
7921ef17
authored
Nov 04, 2020
by
Romain Casati
Browse files
Fix: params from and script conflict.
parent
fe655038
Pipeline
#358986
passed with stages
in 3 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
notebook/static/notebook/js/notebook.js
View file @
7921ef17
...
...
@@ -3022,6 +3022,7 @@ define([
const
component
=
JSON
.
stringify
(
this
.
toIpynb
());
const
url
=
new
URL
(
window
.
location
.
href
);
url
.
hash
=
""
;
url
.
searchParams
.
delete
(
"
from
"
);
// take care of collapsing params
url
.
searchParams
.
set
(
key
,
encodeURIComponent
(
component
).
replace
(
/
\(
/g
,
'
%28
'
).
replace
(
/
\)
/g
,
'
%29
'
));
return
url
.
href
;
};
...
...
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