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

Commit 11e2b00

Browse files
Added formSubmitting call when saving dialog to ensure property editors that rely on this update before closing
1 parent cb284a7 commit 11e2b00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ angular.module("umbraco").controller("Our.Umbraco.DocTypeGridEditor.Dialogs.DocT
158158
if (!$scope.dtgeForm.$valid)
159159
return;
160160

161+
// Cause formSubmitting to fire
162+
$scope.$broadcast("formSubmitting", { scope: $scope });
163+
161164
// Copy property values to scope model value
162165
if ($scope.node) {
163166
var value = {

0 commit comments

Comments
 (0)