Fix file renaming in Firefox (text selection) + Bug 58378

This commit is contained in:
Julia Radzhabova 2022-08-17 02:01:16 +03:00
parent 201f5b9b64
commit 9e3da1a47e
2 changed files with 2 additions and 1 deletions

View file

@ -756,7 +756,7 @@ define([
'focus': onFocusDocName.bind(this),
'blur': function (e) {
me.imgCrypted && me.imgCrypted.toggleClass('hidden', false);
//label[0].selectionStart = label[0].selectionEnd = 0;
Common.Utils.isGecko && (label[0].selectionStart = label[0].selectionEnd = 0);
if(!me.isSaveDocName) {
me.withoutExt = false;
me.setDocTitle(me.documentCaption);

View file

@ -514,6 +514,7 @@
background-color: transparent;
border: 0 none;
cursor: default;
.user-select(text);
&:hover:not(:disabled),&:focus{
box-shadow: 0 0 0 1px @highlight-header-button-hover-ie;