We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bb46a commit 476d4f1Copy full SHA for 476d4f1
Client-Side Components/Catalog Client Script/Multi-User Collaboration/widget client controller.JS
@@ -0,0 +1,19 @@
1
+function($scope, $http) {
2
+ $scope.approve = function(sysId) {
3
+ $http.post('/api/x_your_scope/collab_action', {
4
+ action: 'approve',
5
+ sys_id: sysId
6
+ }).then(function(response) {
7
+ $scope.server.update();
8
+ });
9
+ };
10
+
11
+ $scope.reject = function(sysId) {
12
13
+ action: 'reject',
14
15
16
17
18
19
+}
0 commit comments