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),
|
||||
'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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue