fixed column name after edit

This commit is contained in:
zmagod 2016-12-14 16:47:39 +01:00
parent a9f8239516
commit dfd472d37d

View file

@ -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) {