client/js/ui.handler.edit.filename.js
function registerInputEnterKeyHandler(inputEl, fileId) {
        inheritedInternalApi.getDisposeSupport().attach(inputEl, "keyup", function(event) {

            var code = event.keyCode || event.which;

            if (code === 13) {
                handleNameUpdate(inputEl, fileId);
            }
        });
    }
function registerInputEnterKeyHandler(inputEl, fileId) {
        inheritedInternalApi.getDisposeSupport().attach(inputEl, "keyup", function(event) {

            var code = event.keyCode || event.which;

            if (code === 13) {
                handleNameUpdate(inputEl, fileId);
            }
        });
    }
function registerInputEnterKeyHandler ( inputEl , fileId ) { inheritedInternalApi . getDisposeSupport ( ) . attach ( inputEl , "keyup" , function ( event ) { var code = event . keyCode || event . which ; if ( code === 13 ) { handleNameUpdate ( inputEl , fileId ) ; } } ) ; }
The name has been updated if the user presses enter.
The name has been updated if the user presses enter .