Fix file renaming in Firefox (text selection) + Bug 58378
This commit is contained in:
parent
201f5b9b64
commit
9e3da1a47e
|
@ -756,7 +756,7 @@ define([
|
||||||
'focus': onFocusDocName.bind(this),
|
'focus': onFocusDocName.bind(this),
|
||||||
'blur': function (e) {
|
'blur': function (e) {
|
||||||
me.imgCrypted && me.imgCrypted.toggleClass('hidden', false);
|
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) {
|
if(!me.isSaveDocName) {
|
||||||
me.withoutExt = false;
|
me.withoutExt = false;
|
||||||
me.setDocTitle(me.documentCaption);
|
me.setDocTitle(me.documentCaption);
|
||||||
|
|
|
@ -514,6 +514,7 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
.user-select(text);
|
||||||
|
|
||||||
&:hover:not(:disabled),&:focus{
|
&:hover:not(:disabled),&:focus{
|
||||||
box-shadow: 0 0 0 1px @highlight-header-button-hover-ie;
|
box-shadow: 0 0 0 1px @highlight-header-button-hover-ie;
|
||||||
|
|
Loading…
Reference in a new issue