Added localization for delete confirmation dialog
This commit is contained in:
parent
839cd9ed48
commit
56cfe58c0a
8 changed files with 34 additions and 18 deletions
|
|
@ -164,9 +164,8 @@ print '</ul></div>';
|
|||
$(function() {
|
||||
$('#delete-project').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
confirmDelete(
|
||||
"<?= APP_URL; ?>project/delete/<?= $project->getId(); ?>", "Project"
|
||||
).onCloseConfirmed = function () {window.location = '/'};
|
||||
confirmDelete("<?= APP_URL; ?>project/delete/<?= $project->getId(); ?>")
|
||||
.onCloseConfirmed = function () {window.location = '/'};
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue