Broadcast 'formSubmitting' event when Macro Parameter Overlay is submitted
Some property editors - eg MultiUrlPicker listen out for the broadcast of the 'formSubmitting' event before setting their value of $scope.model.value... if these editors are used as Macro Parameters they do not save their value. This commit adds the broadcasting of the event when the 'submit' button is called and any parameters have been set.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
751a54f525
commit
57d08c964a
+1
@@ -22,6 +22,7 @@ function MacroPickerController($scope, entityResource, macroResource, umbPropEdi
|
||||
if ($scope.wizardStep === "macroSelect") {
|
||||
editParams(true);
|
||||
} else {
|
||||
$scope.$broadcast("formSubmitting", { scope: $scope });
|
||||
$scope.model.submit($scope.model);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user