client/js/ui.handler.edit.filename.js
function handleNameUpdate(newFilenameInputEl, fileId) {
        var newName = newFilenameInputEl.value,
            origExtension;

        if (newName !== undefined && qq.trimStr(newName).length > 0) {
            origExtension = getOriginalExtension(fileId);

            if (origExtension !== undefined) {
                newName = newName + "." + origExtension;
            }

            spec.onSetName(fileId, newName);
        }

        spec.onEditingStatusChange(fileId, false);
    }
function handleNameUpdate(newFilenameInputEl, fileId) {
        var newName = newFilenameInputEl.value,
            origExtension;

        if (newName !== undefined && qq.trimStr(newName).length > 0) {
            origExtension = getOriginalExtension(fileId);

            if (origExtension !== undefined) {
                newName = newName + "." + origExtension;
            }

            spec.onSetName(fileId, newName);
        }

        spec.onEditingStatusChange(fileId, false);
    }
function handleNameUpdate ( newFilenameInputEl , fileId ) { var newName = newFilenameInputEl . value , origExtension ; if ( newName !== undefined && qq . trimStr ( newName ) . length > 0 ) { origExtension = getOriginalExtension ( fileId ) ; if ( origExtension !== undefined ) { newName = newName + "." + origExtension ; } spec . onSetName ( fileId , newName ) ; } spec . onEditingStatusChange ( fileId , false ) ; }
Callback iff the name has been changed
Callback iff the name has been changed