Skip to content
Snippets Groups Projects
Commit 2d353a48 authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix clone button (not processing .path change due to being fired via React event)

parent e7a7138f
Branches
Tags
No related merge requests found
......@@ -151,8 +151,7 @@ CardControllers.controller('CardDetail', [
$location.path('/');
},
cloneCardFn: function(cardId) {
console.log('path=', '/card/create?clone='+cardId);
$location.path('/card/create/?clone='+cardId);
$scope.$apply(() => $location.url('/card/create?clone='+cardId));
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment