mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #4686 from uclixnjupyternbaccessibility/issue-3941
Solved Issue #3941
This commit is contained in:
commit
cfb9262338
@ -955,7 +955,11 @@ define([
|
||||
var item_path = this.selected[0].path;
|
||||
var item_name = this.selected[0].name;
|
||||
var item_type = this.selected[0].type;
|
||||
var input = $('<input/>').attr('type','text').attr('size','25').addClass('form-control')
|
||||
var input = $('<input/>')
|
||||
.attr('type','text')
|
||||
.attr('size','25')
|
||||
.attr('aria-labelledby','rename-message')
|
||||
.addClass('form-control')
|
||||
.val(item_name);
|
||||
var rename_msg = function (type) {
|
||||
switch(type) {
|
||||
@ -975,6 +979,7 @@ define([
|
||||
};
|
||||
var dialog_body = $('<div/>').append(
|
||||
$("<p/>").addClass("rename-message")
|
||||
.attr('id', 'rename-message')
|
||||
.text(rename_msg(item_type))
|
||||
).append(
|
||||
$("<br/>")
|
||||
|
Loading…
Reference in New Issue
Block a user