Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit d35ee89

Browse files
authored
Merge pull request #489 from grtjn/master
Fixed small issue with Cancel on Create/Edit page
2 parents aced94f + ebf6f21 commit d35ee89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/ui/app/create/create.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
ctrl.prevState = $stateParams.prev || 'root.landing';
1919
if (doc && (ctrl.prevState === 'root.view')) {
20-
ctrl.prevState = ctrl.prevState + '({uri: ctrl.uri})';
20+
ctrl.prevState = ctrl.prevState + '({uri: $ctrl.uri})';
2121
} else if (['root.create', 'root.edit'].indexOf(ctrl.prevState) >= 0) {
2222
ctrl.prevState = 'root.landing';
2323
}

0 commit comments

Comments
 (0)