Missing label for textbox in move popup: Issue #3995
This commit is contained in:
Thomas Kluyver 2019-07-11 10:33:21 +01:00 committed by GitHub
commit 431288498a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1071,10 +1071,10 @@ define([
}
// Open a dialog to enter the new path, with current path as default.
var input = $('<input/>').attr('type','text').attr('size','25').addClass('form-control')
var input = $('<input/>').attr('type','text').attr('size','25').attr('aria-labelledby','move-message').addClass('form-control')
.val(utils.url_path_join('/', that.notebook_path));
var dialog_body = $('<div/>').append(
$("<p/>").addClass("rename-message")
$("<p/>").addClass("rename-message").attr('id', 'move-message')
.text(i18n.msg.sprintf(i18n.msg.ngettext("Enter a new destination directory path for this item:",
"Enter a new destination directory path for these %d items:", num_items),num_items))
).append(