mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-28 19:06:39 +08:00
#47 - Fetching values from language files.
This commit is contained in:
@ -936,12 +936,12 @@ module.exports = function (ngApp, events) {
|
||||
|
||||
element.on('click', function(e) {
|
||||
e.preventDefault();
|
||||
var resp = $window.confirm('This will remove the content of the comment, are you sure you want to continue?');
|
||||
if (!resp) {
|
||||
return;
|
||||
}
|
||||
var resp = $window.confirm(trans('entities.comment_delete_confirm'));
|
||||
if (!resp) {
|
||||
return;
|
||||
}
|
||||
|
||||
ctrl.delete(scope.comment);
|
||||
ctrl.delete(scope.comment);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user