[DE PE SSE mobile] Fix Bug 52098

This commit is contained in:
SergeyEzhin 2021-08-23 13:47:41 +03:00
parent 88a2406080
commit 0550275944
4 changed files with 29 additions and 14 deletions

View file

@ -564,25 +564,37 @@ class ViewCommentsController extends Component {
this.onResolveComment(comment);
break;
case 'deleteComment':
f7.dialog.confirm(
_t.textMessageDeleteComment,
_t.textDeleteComment,
() => {
this.deleteComment(comment);
}
);
f7.dialog.create({
title: _t.textDeleteComment,
text: _t.textMessageDeleteComment,
buttons: [
{
text: _t.textCancel
},
{
text: _t.textOk,
onClick: () => this.deleteComment(comment)
}
]
}).open();
break;
case 'editReply':
this.props.storeComments.openEditReply(true, comment, reply);
break;
case 'deleteReply':
f7.dialog.confirm(
_t.textMessageDeleteReply,
_t.textDeleteReply,
() => {
this.deleteReply(comment, reply);
}
);
f7.dialog.create({
title: _t.textDeleteReply,
text: _t.textMessageDeleteReply,
buttons: [
{
text: _t.textCancel
},
{
text: _t.textOk,
onClick: () => this.deleteReply(comment, reply)
}
]
}).open();
break;
case 'addReply':
this.props.storeComments.openAddReply(true, comment);

View file

@ -75,6 +75,7 @@
"textBold": "Bold",
"textBreakBefore": "Page break before",
"textCancel": "Cancel",
"textOk": "Ok",
"textCaps": "All caps",
"textCenter": "Align center",
"textChart": "Chart",

View file

@ -15,6 +15,7 @@
"textAddReply": "Add Reply",
"textBack": "Back",
"textCancel": "Cancel",
"textOk": "Ok",
"textCollaboration": "Collaboration",
"textComments": "Comments",
"textDeleteComment": "Delete Comment",

View file

@ -15,6 +15,7 @@
"textAddReply": "Add Reply",
"textBack": "Back",
"textCancel": "Cancel",
"textOk": "Ok",
"textCollaboration": "Collaboration",
"textComments": "Comments",
"textDeleteComment": "Delete Comment",