[all] fix locked rename state

This commit is contained in:
Maxim Kadushkin 2022-05-09 22:21:21 +03:00
parent 2993cc8bc5
commit 2d167d2405
2 changed files with 2 additions and 4 deletions

View file

@ -504,9 +504,7 @@ define([
$html.find('#rib-doc-name').hide();
}
if ( !_.isUndefined(this.options.canRename) ) {
this.setCanRename(this.options.canRename);
}
this.setCanRename(!!this.options.canRename);
if ( this.options.canBack === true ) {
me.btnGoBack.render($html.find('#slot-btn-back'));

View file

@ -514,7 +514,7 @@
border: 0 none;
cursor: default;
&:hover,&: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;
/*border:@highlight-header-button-hover-ie solid 1px;