Fixed HRef
This commit is contained in:
parent
5f53e3ff85
commit
049c36c916
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ angular.module('SeHub')
|
|||
{
|
||||
var taskName = name;
|
||||
console.log("task created! " + taskName);
|
||||
$window.location.href = 'http://localhost:8080/home#/tasks/new'; // Reference to 'newTask' page
|
||||
$location.path("/tasks/new"); // Reference to 'newTask' page
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue