diff --git a/apps/common/mobile/lib/controller/collaboration/Comments.jsx b/apps/common/mobile/lib/controller/collaboration/Comments.jsx index 1a43a0825..95904000f 100644 --- a/apps/common/mobile/lib/controller/collaboration/Comments.jsx +++ b/apps/common/mobile/lib/controller/collaboration/Comments.jsx @@ -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); diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json index f176b198f..835fcc1a2 100644 --- a/apps/documenteditor/mobile/locale/en.json +++ b/apps/documenteditor/mobile/locale/en.json @@ -75,6 +75,7 @@ "textBold": "Bold", "textBreakBefore": "Page break before", "textCancel": "Cancel", + "textOk": "Ok", "textCaps": "All caps", "textCenter": "Align center", "textChart": "Chart", diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index a6531c874..ef3fc1ef5 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -15,6 +15,7 @@ "textAddReply": "Add Reply", "textBack": "Back", "textCancel": "Cancel", + "textOk": "Ok", "textCollaboration": "Collaboration", "textComments": "Comments", "textDeleteComment": "Delete Comment", diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index fe31d4295..95ec3e6ad 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -15,6 +15,7 @@ "textAddReply": "Add Reply", "textBack": "Back", "textCancel": "Cancel", + "textOk": "Ok", "textCollaboration": "Collaboration", "textComments": "Comments", "textDeleteComment": "Delete Comment",