mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
Fix Handling of Encoded Paths in Save As Dialog (#6030)
This commit is contained in:
parent
7e8fb1a787
commit
2cfff07a39
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user