Fix Handling of Encoded Paths in Save As Dialog (#6030)

Afshin Taylor Darian 5 years ago committed by GitHub
parent 7e8fb1a787
commit 2cfff07a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save