This commit is contained in:
Mirco Wittrien 2019-11-25 12:20:51 +01:00
parent 74ae8a90df
commit ed21481ea4
2 changed files with 2 additions and 1 deletions

View File

@ -6705,6 +6705,7 @@ var BDFDB = {
if (this.refInput && file && (!this.props.filter || file.type.indexOf(this.props.filter) == 0)) {
this.refInput.props.value = `${this.props.mode == "url" ? "url('" : ""}data:${file.type};base64,${BDFDB.LibraryRequires.fs.readFileSync(file.path).toString("base64")}${this.props.mode ? "')" : ""}`;
BDFDB.ReactUtils.forceUpdate(this.refInput);
this.refInput.handleChange(this.refInput.props.value);
}
}
})

File diff suppressed because one or more lines are too long