Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 3c759d6

Browse files
committed
broadcast formSubmitting on submitting the dialog to make sure values from Nested Content, Multi Url Picker etc. is saved to their respective $scope.models.
1 parent b2e3402 commit 3c759d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Our.Umbraco.DocTypeGridEditor/Web/UI/App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ angular.module("umbraco").controller("Our.Umbraco.DocTypeGridEditor.Dialogs.DocT
211211
vm.loading = true;
212212
function submit() {
213213
if ($scope.model.submit) {
214+
$scope.$broadcast('formSubmitting', { scope: $scope });
214215
$scope.model.submit($scope.model);
215216
}
216217
}

0 commit comments

Comments
 (0)