removed inline JS, added e.preventDefault to avoid redirecting to 'false' URL

This commit is contained in:
mrafalko 2013-07-26 00:48:08 +03:00
commit 3b5db87c31
3 changed files with 20 additions and 8 deletions

View file

@ -79,6 +79,7 @@ class ProjectController extends \PHPCI\Controller
$this->_projectStore->delete($project);
header('Location: '.PHPCI_URL);
exit;
}
/**