Skip to content

Commit

Permalink
Merge pull request #790 from mcneilco/brianbolt/issue789
Browse files Browse the repository at this point in the history
Save original file name in comments when saving ls through ls file chooser
  • Loading branch information
brianbolt committed Jul 28, 2021
2 parents f885576 + d621b8c commit 4056e67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/Components/src/client/ACASFormFields.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ class ACASFormLSFileValueFieldController extends ACASFormAbstractFieldController
handleFileUpload: (file) =>
@clearError()
@getModel().set
comments: file.originalName
value: file.name
ignored: false

Expand Down Expand Up @@ -925,7 +926,7 @@ class ACASFormLSBlobValueFieldController extends ACASFormLSFileValueFieldControl
@mimeType = file.mimeType
@getModel().set
value: file.binaryData
comments: file.name
comments: file.originalName
ignored: false

class ACASFormLSBooleanFieldController extends ACASFormAbstractFieldController
Expand Down

0 comments on commit 4056e67

Please sign in to comment.