-
Notifications
You must be signed in to change notification settings - Fork 36
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
update v14 fix #4
Conversation
2:this object must closure in edge browser 3:fix on_upload_complete save fail 4:fix _setup_dialog bug in edge 5:fix _reset_value must remove dialog image row 6:fix _set_value return value be array string 7.add .gitigoner
modified: frappe_better_attach_control/api/file_manager.py modified: frappe_better_attach_control/hooks.py modified: frappe_better_attach_control/public/build.json new file: frappe_better_attach_control/public/js/better_attach_v14.bundle.js modified: frappe_better_attach_control/public/js/controls/attach.js modified: frappe_better_attach_control/public/js/controls/v13/attach.js new file: frappe_better_attach_control/public/js/controls/v14/attach_image.js new file: frappe_better_attach_control/public/js/uploader/v14/index.js modified: frappe_better_attach_control/public/js/utils/index.js update v14
@Nrtyck Thanks a lot for your contribution.. Please check my comments on the changes you made.. |
@kid1194 Frappe v14 install the app, It don't work in edge browser. The contribution fix and test it. |
@Nrtyck Thank you bro.. |
Adding the flt method to the frappe.utils imports instead of using method namespace..
Removing the v14 file since the base file "better_attach.bundle.js" is meant for v14..
Removing v14 from build since the base file "better_attach.bundle.js" is meant for v14 and as of v14 the js file doesn't require to be built as long as it has ".bundle" in its name..
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.
I have made some changes to your repo, if my changes work on edge and other browsers please let me know so I remove the v14 js files you created and merge this pull..
It is nice, I am not sure about the frappe v13 Attach Image control code and fileupdata code. So I'll keep the V13 original code |
I found that the control code does not work properly in webfrom,I'm trying to fix it, but there are still some problems |
@Nrtyck Can you please explain the problem with webform? Maybe I will be able to fix it.. |
at apps/frappe/frappe/public/js/frappe/web_form/webform_script.js here: |
@Nrtyck For the web form, I think that is not possible to solve the problem.. |
@Nrtyck I have updated the plugin. I have made a lot of changes in terms of the code.. Regarding the web form, I couldn't find a solution.. |
No description provided.