Merge pull request #1276 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
This commit is contained in:
commit
c7b59c0675
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -449,7 +449,7 @@
|
||||||
"closeButtonText": "Close File",
|
"closeButtonText": "Close File",
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Waarschuwing",
|
"notcriticalErrorTitle": "Waarschuwing",
|
||||||
"textAbout": "Over",
|
"textAbout": "Over",
|
||||||
"textApplication": "Applicatie",
|
"textApplication": "Applicatie",
|
||||||
"textApplicationSettings": "Applicatie instellingen",
|
"textApplicationSettings": "Applicatie Instellingen",
|
||||||
"textAuthor": "Auteur",
|
"textAuthor": "Auteur",
|
||||||
"textBack": "Terug",
|
"textBack": "Terug",
|
||||||
"textBottom": "Onder",
|
"textBottom": "Onder",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -484,7 +484,7 @@
|
||||||
"notcriticalErrorTitle": "Warning",
|
"notcriticalErrorTitle": "Warning",
|
||||||
"textAbout": "About",
|
"textAbout": "About",
|
||||||
"textApplication": "Application",
|
"textApplication": "Application",
|
||||||
"textApplicationSettings": "Application settings",
|
"textApplicationSettings": "Application Settings",
|
||||||
"textAuthor": "Author",
|
"textAuthor": "Author",
|
||||||
"textBack": "Back",
|
"textBack": "Back",
|
||||||
"textBottom": "Bottom",
|
"textBottom": "Bottom",
|
||||||
|
|
|
@ -165,9 +165,9 @@ class ContextMenu extends ContextMenuController {
|
||||||
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
|
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
}).open();
|
on: {
|
||||||
dialog.on('opened', () => {
|
open: () => {
|
||||||
picker = f7.picker.create({
|
picker = f7.picker.create({
|
||||||
containerEl: document.getElementById('picker-split-size'),
|
containerEl: document.getElementById('picker-split-size'),
|
||||||
cols: [
|
cols: [
|
||||||
|
@ -186,7 +186,9 @@ class ContextMenu extends ContextMenuController {
|
||||||
rotateEffect: true,
|
rotateEffect: true,
|
||||||
value: [3, 3]
|
value: [3, 3]
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
|
}
|
||||||
|
}).open();
|
||||||
}
|
}
|
||||||
|
|
||||||
openLink(url) {
|
openLink(url) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ class SearchSettings extends SearchSettingsView {
|
||||||
|
|
||||||
const markup = (
|
const markup = (
|
||||||
<Page>
|
<Page>
|
||||||
<Navbar title={_t.textFindAndReplace}>
|
<Navbar title={isEdit ? _t.textFindAndReplace : _t.textFind}>
|
||||||
{!show_popover &&
|
{!show_popover &&
|
||||||
<NavRight>
|
<NavRight>
|
||||||
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
||||||
|
@ -95,6 +95,8 @@ const Search = withTranslation()(props => {
|
||||||
const onSearchQuery = params => {
|
const onSearchQuery = params => {
|
||||||
const api = Common.EditorApi.get();
|
const api = Common.EditorApi.get();
|
||||||
|
|
||||||
|
f7.popover.close('.document-menu.modal-in', false);
|
||||||
|
|
||||||
if (params.find && params.find.length) {
|
if (params.find && params.find.length) {
|
||||||
if (!api.asc_findText(params.find, params.forward, params.caseSensitive, params.highlight) ) {
|
if (!api.asc_findText(params.find, params.forward, params.caseSensitive, params.highlight) ) {
|
||||||
f7.dialog.alert(null, _t.textNoTextFound);
|
f7.dialog.alert(null, _t.textNoTextFound);
|
||||||
|
|
|
@ -145,9 +145,9 @@ class ContextMenu extends ContextMenuController {
|
||||||
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
|
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
}).open();
|
on: {
|
||||||
dialog.on('opened', () => {
|
open: () => {
|
||||||
picker = f7.picker.create({
|
picker = f7.picker.create({
|
||||||
containerEl: document.getElementById('picker-split-size'),
|
containerEl: document.getElementById('picker-split-size'),
|
||||||
cols: [
|
cols: [
|
||||||
|
@ -166,7 +166,9 @@ class ContextMenu extends ContextMenuController {
|
||||||
rotateEffect: true,
|
rotateEffect: true,
|
||||||
value: [3, 3]
|
value: [3, 3]
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
|
}
|
||||||
|
}).open();
|
||||||
}
|
}
|
||||||
|
|
||||||
openLink(url) {
|
openLink(url) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ class SearchSettings extends SearchSettingsView {
|
||||||
|
|
||||||
const markup = (
|
const markup = (
|
||||||
<Page>
|
<Page>
|
||||||
<Navbar title={_t.textFindAndReplace}>
|
<Navbar title={isEdit ? _t.textFindAndReplace : _t.textFind}>
|
||||||
{!show_popover &&
|
{!show_popover &&
|
||||||
<NavRight>
|
<NavRight>
|
||||||
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
||||||
|
@ -77,6 +77,8 @@ const Search = withTranslation()(props => {
|
||||||
const onSearchQuery = params => {
|
const onSearchQuery = params => {
|
||||||
const api = Common.EditorApi.get();
|
const api = Common.EditorApi.get();
|
||||||
|
|
||||||
|
f7.popover.close('.document-menu.modal-in', false);
|
||||||
|
|
||||||
if (params.find && params.find.length) {
|
if (params.find && params.find.length) {
|
||||||
if (!api.findText(params.find, params.forward, params.caseSensitive) ) {
|
if (!api.findText(params.find, params.forward, params.caseSensitive) ) {
|
||||||
f7.dialog.alert(null, _t.textNoTextFound);
|
f7.dialog.alert(null, _t.textNoTextFound);
|
||||||
|
|
|
@ -29,7 +29,7 @@ class SearchSettings extends SearchSettingsView {
|
||||||
|
|
||||||
const markup = (
|
const markup = (
|
||||||
<Page>
|
<Page>
|
||||||
<Navbar title={_t.textFindAndReplace}>
|
<Navbar title={isEdit ? _t.textFindAndReplace : _t.textFind}>
|
||||||
{!show_popover &&
|
{!show_popover &&
|
||||||
<NavRight>
|
<NavRight>
|
||||||
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
<Link popupClose=".search-settings-popup">{_t.textDone}</Link>
|
||||||
|
|
Loading…
Reference in a new issue