-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto upload feature #19
Conversation
@darilek The code throws an error when using bundling. Include modified version of AjaxFileUpload.min.js into the pull request. |
return; | ||
} | ||
|
||
this._onUploadOrCancelButtonClickedHandler(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling _onUploadOrCancelButtonClickedHandler()
directly starts upload process before createInputFileElement()
call in onFileSelectedHandler
:
this.onFileSelectedHandler = function(e) {
this.addFilesToQueue(e.target.files);
this.createInputFileElement();
};
Change onFileDroppedHandler()
and onFileDroppedHandler()
so that startUpload()
is called at the end of the methods.
Hello I've refactored code as You requested. |
@@ -1374,6 +1374,9 @@ | |||
<ItemGroup> | |||
<EmbeddedResource Include="Styles\HtmlEditor.DesignPanel.css" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<None Include="bundleconfig.json" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is not needed, because it is specific to VS 2015 environment.
The pull request in the current state has conflicts that prevent branches merging. |
I'm sorry, it should be in correct state now |
@darilek Thank you. |
- commit minified version once again
@MikhailTymchukDX Hello,change commited. |
@darilek You removed |
I hope it's all right now. I'm sorry, it's my first deeper experience with Git enviroment :-) |
Adds automatic upload feature after user selects files from dialog or drop items