Merge pull request #1219 from dod-ccpo/upload-timing-bug
TO next button activation bugfix
This commit is contained in:
commit
e2513582ba
@ -58,18 +58,18 @@ export default {
|
|||||||
this.$refs.attachmentFilename.value = file.name
|
this.$refs.attachmentFilename.value = file.name
|
||||||
this.$refs.attachmentObjectName.value = response.objectName
|
this.$refs.attachmentObjectName.value = response.objectName
|
||||||
this.$refs.attachmentInput.disabled = true
|
this.$refs.attachmentInput.disabled = true
|
||||||
|
emitFieldChange(this)
|
||||||
|
this.changed = true
|
||||||
|
|
||||||
this.downloadLink = await this.getDownloadLink(
|
this.downloadLink = await this.getDownloadLink(
|
||||||
file.name,
|
file.name,
|
||||||
response.objectName
|
response.objectName
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
emitFieldChange(this)
|
||||||
|
this.changed = true
|
||||||
this.uploadError = true
|
this.uploadError = true
|
||||||
}
|
}
|
||||||
|
|
||||||
this.changed = true
|
|
||||||
|
|
||||||
emitFieldChange(this)
|
|
||||||
},
|
},
|
||||||
removeAttachment: function(e) {
|
removeAttachment: function(e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user