Added localization for delete confirmation dialog

This commit is contained in:
Dmitry Khomutov 2017-01-14 16:58:55 +07:00
commit 56cfe58c0a
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
8 changed files with 34 additions and 18 deletions

View file

@ -90,7 +90,8 @@ switch($build->getStatus())
$(document).ready(function() {
$('.delete-build').on('click', function (e) {
e.preventDefault();
confirmDelete(e.target.href, "Build").onCloseConfirmed = function () {window.location = window.location.href};
confirmDelete(e.target.href)
.onCloseConfirmed = function () {window.location = window.location.href};
});
});
</script>