mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-22 23:48:18 +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',
|
dataType: 'json',
|
||||||
success: function() {
|
success: function() {
|
||||||
text.html(generateColumnNameTooltip(newName));
|
text.html(generateColumnNameTooltip(newName));
|
||||||
$(table.columns().header()).filter('#' + id).text(newName);
|
$(table.columns().header()).filter('#' + id)
|
||||||
|
.html(generateColumnNameTooltip(newName));
|
||||||
cancelEditMode();
|
cancelEditMode();
|
||||||
},
|
},
|
||||||
error: function(xhr) {
|
error: function(xhr) {
|
||||||
|
|
Loading…
Reference in a new issue