Follows the same pattern as create a relationship page title and clears the page title when creating a dictionary item (#9279)

This commit is contained in:
Rachel Breeze
2020-11-24 01:15:58 +00:00
committed by GitHub
parent 930b1c1a75
commit 388123ff66

View File

@@ -12,7 +12,7 @@ function DictionaryCreateController($scope, $location, dictionaryResource, navig
vm.itemKey = "";
vm.createItem = createItem;
$scope.$emit("$changeTitle", "");
function createItem() {
if (formHelper.submitForm({ scope: $scope, formCtrl: $scope.createDictionaryForm })) {