mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
fixed column name after edit
This commit is contained in:
parent
a9f8239516
commit
dfd472d37d
1 changed files with 2 additions and 1 deletions
|
@ -1033,7 +1033,8 @@ function changeToEditMode() {
|
|||
dataType: 'json',
|
||||
success: function() {
|
||||
text.html(generateColumnNameTooltip(newName));
|
||||
$(table.columns().header()).filter('#' + id).text(newName);
|
||||
$(table.columns().header()).filter('#' + id)
|
||||
.html(generateColumnNameTooltip(newName));
|
||||
cancelEditMode();
|
||||
},
|
||||
error: function(xhr) {
|
||||
|
|
Loading…
Reference in a new issue