removed inline JS, added e.preventDefault to avoid redirecting to 'false' URL
This commit is contained in:
parent
763d681eaf
commit
3b5db87c31
3 changed files with 20 additions and 8 deletions
|
|
@ -79,6 +79,7 @@ class ProjectController extends \PHPCI\Controller
|
|||
$this->_projectStore->delete($project);
|
||||
|
||||
header('Location: '.PHPCI_URL);
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue