Is there a way in the Umbraco 7 backoffice via Angular JS, where you can catch which of the main event buttons has been clicked. i.e. Save, Save and Publish, Send for Approval etc.
I need to be able to see what the difference is:
$scope.$on("formSubmitting", function (e, args) {
if (args.action) {
$scope.currentButtonAction = args.action;
}
});
I'm using the above code, which sort of works but want to know if theres a better way of doing it. This coe will get me "save" or "publish", but not send to approver
Using AngularJS to capture page submit events
Hello,
Is there a way in the Umbraco 7 backoffice via Angular JS, where you can catch which of the main event buttons has been clicked. i.e. Save, Save and Publish, Send for Approval etc.
I need to be able to see what the difference is:
I'm using the above code, which sort of works but want to know if theres a better way of doing it. This coe will get me "save" or "publish", but not send to approver
Thanks
is working on a reply...