Merge pull request #1745 from ONLYOFFICE/feature/hotfix-ver-7.1.1
Feature/hotfix ver 7.1.1
This commit is contained in:
commit
42a1e0e1ee
|
@ -258,7 +258,7 @@ class SearchView extends Component {
|
||||||
</div>
|
</div>
|
||||||
<div className="searchbar-inner__center">
|
<div className="searchbar-inner__center">
|
||||||
<div className="searchbar-input-wrap">
|
<div className="searchbar-input-wrap">
|
||||||
<input className="searchbar-input" value={searchQuery} placeholder={_t.textSearch} type="text" maxLength="255"
|
<input className="searchbar-input" value={searchQuery} placeholder={_t.textSearch} type="search" maxLength="255"
|
||||||
onChange={e => {this.changeSearchQuery(e.target.value)}} />
|
onChange={e => {this.changeSearchQuery(e.target.value)}} />
|
||||||
{isIos ? <i className="searchbar-icon" /> : null}
|
{isIos ? <i className="searchbar-icon" /> : null}
|
||||||
<span className="input-clear-button" onClick={() => this.changeSearchQuery('')} />
|
<span className="input-clear-button" onClick={() => this.changeSearchQuery('')} />
|
||||||
|
|
|
@ -196,9 +196,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover .list + .list {
|
// .popover .list + .list {
|
||||||
margin-top: 0;
|
// margin-top: 0;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.popover .list:first-child li:first-child, .popover .list:first-child li:first-child a, .popover .list:first-child li:first-child > label, .popover .list:last-child li:last-child, .popover .list:last-child li:last-child a, .popover .list:last-child li:last-child > label {
|
.popover .list:first-child li:first-child, .popover .list:first-child li:first-child a, .popover .list:first-child li:first-child > label, .popover .list:last-child li:last-child, .popover .list:last-child li:last-child a, .popover .list:last-child li:last-child > label {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
|
@ -383,7 +383,7 @@ define([
|
||||||
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
||||||
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
||||||
|
|
||||||
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop';
|
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop' || Common.Controllers.Desktop.isActive();
|
||||||
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
||||||
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
||||||
this.appOptions.templates = this.editorConfig.templates;
|
this.appOptions.templates = this.editorConfig.templates;
|
||||||
|
|
|
@ -343,7 +343,7 @@ define([
|
||||||
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
||||||
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
||||||
|
|
||||||
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop';
|
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop' || Common.Controllers.Desktop.isActive();
|
||||||
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
||||||
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
||||||
this.appOptions.templates = this.editorConfig.templates;
|
this.appOptions.templates = this.editorConfig.templates;
|
||||||
|
|
|
@ -381,7 +381,7 @@ define([
|
||||||
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
Common.localStorage.getItem("guest-id") || ('uid-' + Date.now()));
|
||||||
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id);
|
||||||
|
|
||||||
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop';
|
this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop' || Common.Controllers.Desktop.isActive();
|
||||||
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
this.appOptions.canCreateNew = this.editorConfig.canRequestCreateNew || !_.isEmpty(this.editorConfig.createUrl) || this.editorConfig.templates && this.editorConfig.templates.length;
|
||||||
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
this.appOptions.canOpenRecent = this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
|
||||||
this.appOptions.templates = this.editorConfig.templates;
|
this.appOptions.templates = this.editorConfig.templates;
|
||||||
|
|
|
@ -100,6 +100,7 @@ const CellEditor = inject("storeFunctions")(observer(props => {
|
||||||
f7.popover.open('#idx-functions-list', '#idx-list-target');
|
f7.popover.open('#idx-functions-list', '#idx-list-target');
|
||||||
} else {
|
} else {
|
||||||
f7.popover.close('#idx-functions-list');
|
f7.popover.close('#idx-functions-list');
|
||||||
|
setFuncArr('');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue