File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
services/static-webserver/client/source/class/osparc/widget Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments