Skip to content

Commit

Permalink
Fix Handling of Encoded Paths in Save As Dialog (#6030)
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin authored Apr 1, 2021
1 parent 7e8fb1a commit 2cfff07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notebook/static/notebook/js/notebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -2867,6 +2867,7 @@ define([
var that = this;
var current_dir = $('body').attr('data-notebook-path').split('/').slice(0, -1).join("/");
current_dir = current_dir? current_dir + "/": "";
current_dir = decodeURIComponent(current_dir);
var dialog_body = $('<div/>').append(
$('<p/>').addClass('save-message')
.text(i18n.msg._('Enter a notebook path relative to notebook dir'))
Expand Down

0 comments on commit 2cfff07

Please sign in to comment.