Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Oct 12, 2023
2 parents f584dbe + cc4195e commit 9f69b98
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 50 deletions.
3 changes: 2 additions & 1 deletion grails-app/assets/javascripts/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -1389,10 +1389,11 @@ function orEmptyArray(v) {

self.attachDocument = function (target) {
var url = config.documentUpdateUrl || fcConfig.documentUpdateUrl;
var documentOwner = config.documentOwner || {activityId: activityId, projectId: config.projectId};
showDocumentAttachInModal(url, new DocumentViewModel({
role: 'information',
stage: config.stage
}, {activityId: activityId, projectId: config.projectId}), '#attachDocument')
}, documentOwner), '#attachDocument')
.done(function (result) {
// checking documentid to void adding empty document into the attachment table
// documentid only return true if document is successfully save
Expand Down
114 changes: 65 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f69b98

Please sign in to comment.