Closed hhaensel closed 8 months ago
Just today started writing an app in windows and found this problem exactly!
@essenciary , @PGimenez May I raise the question, why the channel is broadcasted? The channel is stored within the model anyhow. Maybe we should remove that within this PR?
When the file is processed on the server side we have no access to the model to trigger the handlers. So the workaround was to push an update to the user on the front, using the channel, so that the frontend triggers the handlers. Not ideal but I couldn't find a better solution.
Currently
uf.tmppath
is wrongly transmitted during broadcast in windows due to backslashes.This PR fixes the coding by making use of
js_attr
.@essenciary , @PGimenez May I raise the question, why the channel is broadcasted? The channel is stored within the model anyhow. Maybe we should remove that within this PR?