Merge pull request #2033 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
This commit is contained in:
commit
dcd37e4731
|
@ -378,7 +378,7 @@ const EditView = props => {
|
||||||
<Popover id="edit-popover" className="popover__titled" closeByOutsideClick={false} onPopoverClosed={() => props.onClosed()}>
|
<Popover id="edit-popover" className="popover__titled" closeByOutsideClick={false} onPopoverClosed={() => props.onClosed()}>
|
||||||
<EditTabsContainer inPopover={true} onOptionClick={onOptionClick} style={{height: '410px'}} />
|
<EditTabsContainer inPopover={true} onOptionClick={onOptionClick} style={{height: '410px'}} />
|
||||||
</Popover> :
|
</Popover> :
|
||||||
<Sheet id="edit-sheet" push onSheetClosed={() => props.onClosed()}>
|
<Sheet id="edit-sheet" closeByOutsideClick={true} closeByBackdropClick={false} backdrop={false} push onSheetClosed={() => props.onClosed()}>
|
||||||
<EditTabsContainer onOptionClick={onOptionClick} />
|
<EditTabsContainer onOptionClick={onOptionClick} />
|
||||||
</Sheet>
|
</Sheet>
|
||||||
)
|
)
|
||||||
|
|
|
@ -243,7 +243,9 @@
|
||||||
"unknownErrorText": "Unknown error.",
|
"unknownErrorText": "Unknown error.",
|
||||||
"uploadImageExtMessage": "Unknown image format.",
|
"uploadImageExtMessage": "Unknown image format.",
|
||||||
"uploadImageFileCountMessage": "No images uploaded.",
|
"uploadImageFileCountMessage": "No images uploaded.",
|
||||||
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB."
|
"uploadImageSizeMessage": "The image is too big. The maximum size is 25 MB.",
|
||||||
|
"textCancel": "Cancel",
|
||||||
|
"textOk": "Ok"
|
||||||
},
|
},
|
||||||
"LongActions": {
|
"LongActions": {
|
||||||
"advDRMPassword": "Password",
|
"advDRMPassword": "Password",
|
||||||
|
|
|
@ -368,12 +368,17 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu
|
||||||
cssClass: 'error-dialog',
|
cssClass: 'error-dialog',
|
||||||
title : config.title,
|
title : config.title,
|
||||||
text : config.msg,
|
text : config.msg,
|
||||||
buttons: config.buttons.map( button => (
|
buttons: config.buttons ? config.buttons.map(button => (
|
||||||
{
|
{
|
||||||
text:button,
|
text: button,
|
||||||
onClick: (_, btn) => config.callback(_, btn)
|
onClick: (_, btn) => config.callback(_, btn)
|
||||||
}
|
}
|
||||||
))
|
)) : [
|
||||||
|
{
|
||||||
|
text: t('Error.textOk'),
|
||||||
|
onClick: (dlg, _) => dlg.close()
|
||||||
|
}
|
||||||
|
]
|
||||||
}).open();
|
}).open();
|
||||||
|
|
||||||
Common.component.Analytics.trackEvent('Internal Error', id.toString());
|
Common.component.Analytics.trackEvent('Internal Error', id.toString());
|
||||||
|
|
|
@ -114,7 +114,7 @@ const EditCell = props => {
|
||||||
}}>
|
}}>
|
||||||
{!isAndroid && <Icon slot="media" icon="icon-cell-style" />}
|
{!isAndroid && <Icon slot="media" icon="icon-cell-style" />}
|
||||||
<div slot="after">
|
<div slot="after">
|
||||||
<div className='preview-cell-style' style={{backgroundImage: `url(${curStyle.image})`}}></div>
|
<div className='preview-cell-style' style={{backgroundImage: `url(${curStyle ? curStyle.image : null})`}}></div>
|
||||||
</div>
|
</div>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
|
|
Loading…
Reference in a new issue