Skip to content

Commit

Permalink
enhancement: On upload, the updated value is sent in the event now
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Oct 22, 2017
1 parent aaea98f commit 34f3608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/public/abecms/scripts/modules/EditorFiles.js
Expand Up @@ -103,7 +103,7 @@ export default class EditorFiles {
Array.prototype.forEach.call(nodes, node => {
EditorUtils.formToHtml(node, input)
})
this.onUpload._fire(target)
this.onUpload._fire(target, input.value)
setTimeout(function() {
percent.innerHTML = percentHtml
}, 1000)
Expand Down

0 comments on commit 34f3608

Please sign in to comment.