Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit b0c9b4f

Browse files
committed
set status when submitting
1 parent bf17913 commit b0c9b4f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dist/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ $templateCache.put("views/submit-work-users.directive.html","<h2>Your Users</h2>
385385
options = {
386386
saved: true
387387
};
388+
vm.work.status = 'Submitted';
388389
return vm.save(function() {
389390
return $state.go('view-work-multiple', options);
390391
});

src/scripts/controllers/submit-work.controller.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ SubmitWorkController = (
4949

5050
options = saved: true
5151

52+
vm.work.status = 'Submitted'
53+
5254
vm.save ->
5355
$state.go 'view-work-multiple' , options
5456

0 commit comments

Comments
 (0)