Skip to content

Commit 5e679ab

Browse files
committed
minor
1 parent 1bdde17 commit 5e679ab

File tree

1 file changed

+1
-4
lines changed
  • services/static-webserver/client/source/class/osparc/widget

1 file changed

+1
-4
lines changed

services/static-webserver/client/source/class/osparc/widget/Renamer.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,12 @@ qx.Class.define("osparc.widget.Renamer", {
106106
},
107107

108108
__populateNodeLabelEditor: function(oldLabel, labelWidth) {
109-
// Create a text field in which to edit the data
110109
const textField = this.getChildControl("text-field").set({
111110
value: oldLabel,
112111
minWidth: labelWidth,
113112
});
114113

115-
// Create the "Save" button to close the cell editor
116114
const saveButton = this.getChildControl("save-button");
117-
118115
saveButton.addListener("execute", () => {
119116
const newLabel = textField.getValue();
120117
const data = {
@@ -123,7 +120,7 @@ qx.Class.define("osparc.widget.Renamer", {
123120
this.fireDataEvent("labelChanged", data);
124121
}, this);
125122

126-
this.addListener("appear", e => {
123+
this.addListener("appear", () => {
127124
textField.focus();
128125
if (textField.getValue()) {
129126
textField.setTextSelection(0, textField.getValue().length);

0 commit comments

Comments
 (0)